125
|
1 module dwt.internal.mozilla.nsIModule;
|
|
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.nsIComponentManager;
|
|
8
|
|
9 const char[] NS_IMODULE_IID_STR = "7392d032-5371-11d3-994e-00805fd26fee";
|
|
10
|
|
11 const nsIID NS_IMODULE_IID=
|
|
12 {0x7392d032, 0x5371, 0x11d3,
|
|
13 [ 0x99, 0x4e, 0x00, 0x80, 0x5f, 0xd2, 0x6f, 0xee ]};
|
|
14
|
|
15 interface nsIModule : nsISupports {
|
|
16 static const char[] IID_STR = NS_IMODULE_IID_STR;
|
|
17 static const nsIID IID = NS_IMODULE_IID;
|
|
18
|
|
19 extern(System):
|
|
20 nsresult GetClassObject(nsIComponentManager aCompMgr, nsCID * aClass, nsIID * aIID, void * *aResult);
|
|
21 nsresult RegisterSelf(nsIComponentManager aCompMgr, nsIFile aLocation, char *aLoaderStr, char *aType);
|
|
22 nsresult UnregisterSelf(nsIComponentManager aCompMgr, nsIFile aLocation, char *aLoaderStr);
|
|
23 nsresult CanUnload(nsIComponentManager aCompMgr, PRBool *_retval);
|
|
24 }
|
|
25
|