Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla.old/nsIComponentRegistrar.d @ 288:4ee8c4237614
old branches... commit by mistake
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 18:00:50 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
287:9cbe6285f746 | 288:4ee8c4237614 |
---|---|
1 module dwt.internal.mozilla.nsIComponentRegistrar; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 import dwt.internal.mozilla.nsIFile; | |
7 import dwt.internal.mozilla.nsIFactory; | |
8 import dwt.internal.mozilla.nsISimpleEnumerator; | |
9 | |
10 const char[] NS_ICOMPONENTREGISTRAR_IID_STR = "2417cbfe-65ad-48a6-b4b6-eb84db174392"; | |
11 | |
12 const nsIID NS_ICOMPONENTREGISTRAR_IID= | |
13 {0x2417cbfe, 0x65ad, 0x48a6, | |
14 [ 0xb4, 0xb6, 0xeb, 0x84, 0xdb, 0x17, 0x43, 0x92 ]}; | |
15 | |
16 extern(System) | |
17 | |
18 interface nsIComponentRegistrar : nsISupports { | |
19 static const char[] IID_STR = NS_ICOMPONENTREGISTRAR_IID_STR; | |
20 static const nsIID IID = NS_ICOMPONENTREGISTRAR_IID; | |
21 | |
22 nsresult AutoRegister(nsIFile aSpec); | |
23 nsresult AutoUnregister(nsIFile aSpec); | |
24 nsresult RegisterFactory(nsCID * aClass, char *aClassName, char *aContractID, nsIFactory aFactory); | |
25 nsresult UnregisterFactory(nsCID * aClass, nsIFactory aFactory); | |
26 nsresult RegisterFactoryLocation(nsCID * aClass, char *aClassName, char *aContractID, nsIFile aFile, char *aLoaderStr, char *aType); | |
27 nsresult UnregisterFactoryLocation(nsCID * aClass, nsIFile aFile); | |
28 nsresult IsCIDRegistered(nsCID * aClass, PRBool *_retval); | |
29 nsresult IsContractIDRegistered(char *aContractID, PRBool *_retval); | |
30 nsresult EnumerateCIDs(nsISimpleEnumerator *_retval); | |
31 nsresult EnumerateContractIDs(nsISimpleEnumerator *_retval); | |
32 nsresult CIDToContractID(nsCID * aClass, char **_retval); | |
33 nsresult ContractIDToCID(char *aContractID, nsCID * *_retval); | |
34 } | |
35 |