netwerk/protocol/device/nsDeviceProtocolHandler.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netwerk/protocol/device/nsDeviceProtocolHandler.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +#ifndef nsDeviceProtocolHandler_h_
    1.10 +#define nsDeviceProtocolHandler_h_
    1.11 +
    1.12 +#include "nsIProtocolHandler.h"
    1.13 +#include "mozilla/Attributes.h"
    1.14 +
    1.15 +// {6b0ffe9e-d114-486b-aeb7-da62e7273ed5}
    1.16 +#define NS_DEVICEPROTOCOLHANDLER_CID                      \
    1.17 +{ 0x60ffe9e, 0xd114, 0x486b,                              \
    1.18 +    {0xae, 0xb7, 0xda, 0x62, 0xe7, 0x27, 0x3e, 0xd5} }
    1.19 +
    1.20 +class nsDeviceProtocolHandler MOZ_FINAL : public nsIProtocolHandler {
    1.21 +public:
    1.22 +  NS_DECL_THREADSAFE_ISUPPORTS
    1.23 +  NS_DECL_NSIPROTOCOLHANDLER
    1.24 +
    1.25 +  nsDeviceProtocolHandler() {}
    1.26 +  ~nsDeviceProtocolHandler() {}
    1.27 +
    1.28 +  nsresult Init();
    1.29 +};
    1.30 +
    1.31 +#endif

mercurial