xpcom/build/nsXPCOMCIDInternal.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
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 #ifndef nsXPCOMCIDInternal_h__
michael@0 8 #define nsXPCOMCIDInternal_h__
michael@0 9
michael@0 10 #include "nsXPCOMCID.h"
michael@0 11
michael@0 12 /**
michael@0 13 * A hashtable-based property bag component.
michael@0 14 * @implements nsIWritablePropertyBag, nsIWritablePropertyBag2
michael@0 15 */
michael@0 16 #define NS_HASH_PROPERTY_BAG_CID \
michael@0 17 { 0x678c50b8, 0x6bcb, 0x4ad0, \
michael@0 18 { 0xb9, 0xb8, 0xc8, 0x11, 0x75, 0x95, 0x51, 0x99 } }
michael@0 19 #define NS_HASH_PROPERTY_BAG_CONTRACTID "@mozilla.org/hash-property-bag;1"
michael@0 20
michael@0 21 /**
michael@0 22 * Factory for creating nsIUnicharInputStream
michael@0 23 * @implements nsIUnicharInputStreamFactory
michael@0 24 * @note nsIUnicharInputStream instances cannot be created via
michael@0 25 * createInstance. Code must use one of the custom factory methods.
michael@0 26 */
michael@0 27 #define NS_SIMPLE_UNICHAR_STREAM_FACTORY_CONTRACTID \
michael@0 28 "@mozilla.org/xpcom/simple-unichar-stream-factory;1"
michael@0 29
michael@0 30 /**
michael@0 31 * The global thread manager service. This component is a singleton.
michael@0 32 * @implements nsIThreadManager
michael@0 33 */
michael@0 34 #define NS_THREADMANAGER_CONTRACTID "@mozilla.org/thread-manager;1"
michael@0 35
michael@0 36 /**
michael@0 37 * A thread pool component.
michael@0 38 * @implements nsIThreadPool
michael@0 39 */
michael@0 40 #define NS_THREADPOOL_CONTRACTID "@mozilla.org/thread-pool;1"
michael@0 41
michael@0 42 /**
michael@0 43 * The contract id for the nsIXULAppInfo service.
michael@0 44 */
michael@0 45 #define XULAPPINFO_SERVICE_CONTRACTID \
michael@0 46 "@mozilla.org/xre/app-info;1"
michael@0 47
michael@0 48 /**
michael@0 49 * The contract id for the nsIXULRuntime service.
michael@0 50 */
michael@0 51 #define XULRUNTIME_SERVICE_CONTRACTID \
michael@0 52 "@mozilla.org/xre/runtime;1"
michael@0 53
michael@0 54 #endif // nsXPCOMCIDInternal_h__

mercurial