comparison dwt/internal/mozilla/nsIModule.d @ 348:9a4d7706df52

Test Update to fix linux XPCOM interface issues
author John Reimer <terminal.node@gmail.com>
date Fri, 31 Oct 2008 21:46:44 -0700
parents 942da4b6558a
children
comparison
equal deleted inserted replaced
347:ff6dd48f5248 348:9a4d7706df52
10 10
11 const nsIID NS_IMODULE_IID= 11 const nsIID NS_IMODULE_IID=
12 {0x7392d032, 0x5371, 0x11d3, 12 {0x7392d032, 0x5371, 0x11d3,
13 [ 0x99, 0x4e, 0x00, 0x80, 0x5f, 0xd2, 0x6f, 0xee ]}; 13 [ 0x99, 0x4e, 0x00, 0x80, 0x5f, 0xd2, 0x6f, 0xee ]};
14 14
15 //extern(System)
16 interface nsIModule : nsISupports { 15 interface nsIModule : nsISupports {
17 static const char[] IID_STR = NS_IMODULE_IID_STR; 16 static const char[] IID_STR = NS_IMODULE_IID_STR;
18 static const nsIID IID = NS_IMODULE_IID; 17 static const nsIID IID = NS_IMODULE_IID;
19 18
19 extern(System):
20 nsresult GetClassObject(nsIComponentManager aCompMgr, nsCID * aClass, nsIID * aIID, void * *aResult); 20 nsresult GetClassObject(nsIComponentManager aCompMgr, nsCID * aClass, nsIID * aIID, void * *aResult);
21 nsresult RegisterSelf(nsIComponentManager aCompMgr, nsIFile aLocation, char *aLoaderStr, char *aType); 21 nsresult RegisterSelf(nsIComponentManager aCompMgr, nsIFile aLocation, char *aLoaderStr, char *aType);
22 nsresult UnregisterSelf(nsIComponentManager aCompMgr, nsIFile aLocation, char *aLoaderStr); 22 nsresult UnregisterSelf(nsIComponentManager aCompMgr, nsIFile aLocation, char *aLoaderStr);
23 nsresult CanUnload(nsIComponentManager aCompMgr, PRBool *_retval); 23 nsresult CanUnload(nsIComponentManager aCompMgr, PRBool *_retval);
24 } 24 }