uriloader/exthandler/nsCExternalHandlerService.idl

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 /* -*- Mode: IDL; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 2 -*-
     2  *
     3  * This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this
     5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 #include "nsIExternalHelperAppService.idl"
     9 /*
    10 nsCExternalHelperApp implements:
    11 -------------------------
    12 nsIExternalHelperAppService
    13 */
    15 %{ C++
    17 /* A7F800E0-4306-11d4-98D0-001083010E9B */
    18 #define NS_EXTERNALHELPERAPPSERVICE_CID   \
    19  { 0xa7f800e0, 0x4306, 0x11d4, { 0x98, 0xd0, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b } }
    21 #define NS_EXTERNALHELPERAPPSERVICE_CONTRACTID \
    22 "@mozilla.org/uriloader/external-helper-app-service;1"
    24 #define NS_HANDLERSERVICE_CONTRACTID \
    25 "@mozilla.org/uriloader/handler-service;1"
    27 #define NS_EXTERNALPROTOCOLSERVICE_CONTRACTID \
    28 "@mozilla.org/uriloader/external-protocol-service;1"
    30 #define NS_MIMESERVICE_CONTRACTID \
    31 "@mozilla.org/mime;1"
    33 #define NS_EXTERNALPROTOCOLHANDLER_CID	\
    34 { 0xbd6390c8, 0xfbea, 0x11d4, {0x98, 0xf6, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b } }
    36 /* 9fa83ce7-d0ab-4ed3-938e-afafee435670 */
    37 #define NS_BLOCKEDEXTERNALPROTOCOLHANDLER_CID	\
    38 { 0x9fa83ce7, 0xd0ab, 0x4ed3, {0x93, 0x8e, 0xaf, 0xaf, 0xee, 0x43, 0x56, 0x70 } }
    40 /* bc0017e3-2438-47be-a567-41db58f17627 */
    41 #define NS_LOCALHANDLERAPP_CID \
    42 { 0xbc0017e3, 0x2438, 0x47be, {0xa5, 0x67, 0x41, 0xdb, 0x58, 0xf1, 0x76, 0x27 } }
    44 /*6c3c274b-4cbf-4bb5-a635-05ad2cbb6535*/
    45 #define NS_DBUSHANDLERAPP_CID \
    46 { 0x6c3c274b, 0x4cbf, 0x4bb5, {0xa6, 0x35, 0x05, 0xad, 0x2c, 0xbb, 0x65, 0x35 } }
    48 #define NS_DBUSHANDLERAPP_CONTRACTID \
    49 "@mozilla.org/uriloader/dbus-handler-app;1"
    51 #define NS_LOCALHANDLERAPP_CONTRACTID \
    52 "@mozilla.org/uriloader/local-handler-app;1"
    54 #define NS_WEBHANDLERAPP_CONTRACTID \
    55 "@mozilla.org/uriloader/web-handler-app;1"
    57 %}

mercurial