comparison dwt/internal/mozilla/nsIModule.d @ 272:dd63eb078d7a

xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
author John Reimer<terminal.node@gmail.com>
date Fri, 18 Jul 2008 05:32:53 -0700
parents
children 942da4b6558a
comparison
equal deleted inserted replaced
271:d472fae79005 272:dd63eb078d7a
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 extern(System)
16 interface nsIModule : nsISupports {
17 static const char[] IID_STR = NS_IMODULE_IID_STR;
18 static const nsIID IID = NS_IMODULE_IID;
19
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