1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/uriloader/exthandler/unix/nsExternalSharingAppService.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#ifndef NS_EXTERNAL_SHARING_APP_SERVICE_H 1.9 +#define NS_EXTERNAL_SHARING_APP_SERVICE_H 1.10 + 1.11 +#include "nsIExternalSharingAppService.h" 1.12 +#include "nsAutoPtr.h" 1.13 + 1.14 +class ShareUiInterface; 1.15 + 1.16 +#define NS_EXTERNALSHARINGAPPSERVICE_CID \ 1.17 + {0xea782c90, 0xc6ec, 0x11df, \ 1.18 + {0xbd, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66, 0x74}} 1.19 + 1.20 +class nsExternalSharingAppService : public nsIExternalSharingAppService 1.21 +{ 1.22 +public: 1.23 + NS_DECL_ISUPPORTS 1.24 + NS_DECL_NSIEXTERNALSHARINGAPPSERVICE 1.25 + 1.26 + nsExternalSharingAppService(); 1.27 + 1.28 +private: 1.29 + ~nsExternalSharingAppService(); 1.30 + 1.31 +protected: 1.32 + nsAutoPtr<ShareUiInterface> mShareUi; 1.33 +}; 1.34 +#endif