michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef __DownloadPlatform_h__ michael@0: #define __DownloadPlatform_h__ michael@0: michael@0: #include "mozIDownloadPlatform.h" michael@0: michael@0: #include "nsCOMPtr.h" michael@0: michael@0: class nsIURI; michael@0: class nsIFile; michael@0: michael@0: class DownloadPlatform : public mozIDownloadPlatform michael@0: { michael@0: public: michael@0: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_MOZIDOWNLOADPLATFORM michael@0: michael@0: DownloadPlatform() { } michael@0: virtual ~DownloadPlatform() { } michael@0: michael@0: static DownloadPlatform *gDownloadPlatformService; michael@0: michael@0: static DownloadPlatform* GetDownloadPlatform(); michael@0: }; michael@0: michael@0: #endif