Line data Source code
1 : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 : /* This Source Code Form is subject to the terms of the Mozilla Public
3 : * License, v. 2.0. If a copy of the MPL was not distributed with this
4 : * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 :
6 : #ifndef nsDeviceProtocolHandler_h_
7 : #define nsDeviceProtocolHandler_h_
8 :
9 : #include "nsIProtocolHandler.h"
10 : #include "mozilla/Attributes.h"
11 :
12 : namespace mozilla {
13 : namespace net {
14 :
15 : // {6b0ffe9e-d114-486b-aeb7-da62e7273ed5}
16 : #define NS_DEVICEPROTOCOLHANDLER_CID \
17 : { 0x60ffe9e, 0xd114, 0x486b, \
18 : {0xae, 0xb7, 0xda, 0x62, 0xe7, 0x27, 0x3e, 0xd5} }
19 :
20 : class nsDeviceProtocolHandler final : public nsIProtocolHandler {
21 0 : ~nsDeviceProtocolHandler() {}
22 :
23 : public:
24 : NS_DECL_THREADSAFE_ISUPPORTS
25 : NS_DECL_NSIPROTOCOLHANDLER
26 :
27 0 : nsDeviceProtocolHandler() {}
28 :
29 : MOZ_MUST_USE nsresult Init();
30 : };
31 :
32 : } // namespace net
33 : } // namespace mozilla
34 : #endif
|