2010-08-25 19:52:10 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2010-08-25 19:52:10 +04:00
|
|
|
|
|
|
|
#ifndef nsDeviceProtocolHandler_h_
|
|
|
|
#define nsDeviceProtocolHandler_h_
|
|
|
|
|
|
|
|
#include "nsIProtocolHandler.h"
|
2012-06-06 07:18:25 +04:00
|
|
|
#include "mozilla/Attributes.h"
|
2010-08-25 19:52:10 +04:00
|
|
|
|
|
|
|
// {6b0ffe9e-d114-486b-aeb7-da62e7273ed5}
|
|
|
|
#define NS_DEVICEPROTOCOLHANDLER_CID \
|
|
|
|
{ 0x60ffe9e, 0xd114, 0x486b, \
|
|
|
|
{0xae, 0xb7, 0xda, 0x62, 0xe7, 0x27, 0x3e, 0xd5} }
|
|
|
|
|
2012-06-06 07:18:25 +04:00
|
|
|
class nsDeviceProtocolHandler MOZ_FINAL : public nsIProtocolHandler {
|
2014-06-24 20:36:44 +04:00
|
|
|
~nsDeviceProtocolHandler() {}
|
|
|
|
|
2010-08-25 19:52:10 +04:00
|
|
|
public:
|
2013-07-19 06:24:13 +04:00
|
|
|
NS_DECL_THREADSAFE_ISUPPORTS
|
2010-08-25 19:52:10 +04:00
|
|
|
NS_DECL_NSIPROTOCOLHANDLER
|
|
|
|
|
|
|
|
nsDeviceProtocolHandler() {}
|
|
|
|
|
|
|
|
nsresult Init();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|