Bug 1860795 [wpt PR 42715] - WebKit export of https://bugs.webkit.org/show_bug.cgi...
[gecko.git] / xpcom / build / nsXPCOMCIDInternal.h
blobd07fcb1c4d7306b71db5ccb89f8127f711a5bb27
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
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 #ifndef nsXPCOMCIDInternal_h__
8 #define nsXPCOMCIDInternal_h__
10 #include "nsXPCOMCID.h"
12 /**
13 * A hashtable-based property bag component.
14 * @implements nsIWritablePropertyBag, nsIWritablePropertyBag2
16 #define NS_HASH_PROPERTY_BAG_CID \
17 { \
18 0x678c50b8, 0x6bcb, 0x4ad0, { \
19 0xb9, 0xb8, 0xc8, 0x11, 0x75, 0x95, 0x51, 0x99 \
20 } \
22 #define NS_HASH_PROPERTY_BAG_CONTRACTID "@mozilla.org/hash-property-bag;1"
24 /**
25 * Factory for creating nsIUnicharInputStream
26 * @implements nsIUnicharInputStreamFactory
27 * @note nsIUnicharInputStream instances cannot be created via
28 * createInstance. Code must use one of the custom factory methods.
30 #define NS_SIMPLE_UNICHAR_STREAM_FACTORY_CONTRACTID \
31 "@mozilla.org/xpcom/simple-unichar-stream-factory;1"
33 /**
34 * The global thread manager service. This component is a singleton.
35 * @implements nsIThreadManager
37 #define NS_THREADMANAGER_CONTRACTID "@mozilla.org/thread-manager;1"
39 /**
40 * The contract id for the nsIXULAppInfo service.
42 #define XULAPPINFO_SERVICE_CONTRACTID "@mozilla.org/xre/app-info;1"
44 /**
45 * The contract id for the nsIXULRuntime service.
47 #define XULRUNTIME_SERVICE_CONTRACTID "@mozilla.org/xre/runtime;1"
49 #endif // nsXPCOMCIDInternal_h__