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