toolkit/components/jsdownloads/src/DownloadPlatform.h

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:ffa579840a44
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 #ifndef __DownloadPlatform_h__
6 #define __DownloadPlatform_h__
7
8 #include "mozIDownloadPlatform.h"
9
10 #include "nsCOMPtr.h"
11
12 class nsIURI;
13 class nsIFile;
14
15 class DownloadPlatform : public mozIDownloadPlatform
16 {
17 public:
18
19 NS_DECL_ISUPPORTS
20 NS_DECL_MOZIDOWNLOADPLATFORM
21
22 DownloadPlatform() { }
23 virtual ~DownloadPlatform() { }
24
25 static DownloadPlatform *gDownloadPlatformService;
26
27 static DownloadPlatform* GetDownloadPlatform();
28 };
29
30 #endif

mercurial