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