michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 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 nsDeviceProtocolHandler_h_ michael@0: #define nsDeviceProtocolHandler_h_ michael@0: michael@0: #include "nsIProtocolHandler.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: // {6b0ffe9e-d114-486b-aeb7-da62e7273ed5} michael@0: #define NS_DEVICEPROTOCOLHANDLER_CID \ michael@0: { 0x60ffe9e, 0xd114, 0x486b, \ michael@0: {0xae, 0xb7, 0xda, 0x62, 0xe7, 0x27, 0x3e, 0xd5} } michael@0: michael@0: class nsDeviceProtocolHandler MOZ_FINAL : public nsIProtocolHandler { michael@0: public: michael@0: NS_DECL_THREADSAFE_ISUPPORTS michael@0: NS_DECL_NSIPROTOCOLHANDLER michael@0: michael@0: nsDeviceProtocolHandler() {} michael@0: ~nsDeviceProtocolHandler() {} michael@0: michael@0: nsresult Init(); michael@0: }; michael@0: michael@0: #endif