|
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 // {6b0ffe9e-d114-486b-aeb7-da62e7273ed5} |
|
13 #define NS_DEVICEPROTOCOLHANDLER_CID \ |
|
14 { 0x60ffe9e, 0xd114, 0x486b, \ |
|
15 {0xae, 0xb7, 0xda, 0x62, 0xe7, 0x27, 0x3e, 0xd5} } |
|
16 |
|
17 class nsDeviceProtocolHandler MOZ_FINAL : public nsIProtocolHandler { |
|
18 public: |
|
19 NS_DECL_THREADSAFE_ISUPPORTS |
|
20 NS_DECL_NSIPROTOCOLHANDLER |
|
21 |
|
22 nsDeviceProtocolHandler() {} |
|
23 ~nsDeviceProtocolHandler() {} |
|
24 |
|
25 nsresult Init(); |
|
26 }; |
|
27 |
|
28 #endif |