comparison dwt/internal/mozilla.old/nsIServiceManager.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.nsIServiceManager;
2
3 import dwt.internal.mozilla.Common;
4 import dwt.internal.mozilla.nsID;
5 import dwt.internal.mozilla.nsISupports;
6
7 const char[] NS_ISERVICEMANAGER_IID_STR = "8bb35ed9-e332-462d-9155-4a002ab5c958";
8 const nsIID NS_ISERVICEMANAGER_IID=
9 {0x8bb35ed9, 0xe332, 0x462d,
10 [ 0x91, 0x55, 0x4a, 0x00, 0x2a, 0xb5, 0xc9, 0x58 ]};
11
12 extern(System)
13
14 interface nsIServiceManager : nsISupports {
15
16 static const char[] IID_STR = NS_ISERVICEMANAGER_IID_STR;
17 static const nsIID IID = NS_ISERVICEMANAGER_IID;
18
19 nsresult GetService(nsCID * aClass, nsIID * aIID, void * *result);
20 nsresult GetServiceByContractID(char *aContractID, nsIID * aIID, void * *result);
21 nsresult IsServiceInstantiated(nsCID * aClass, nsIID * aIID, PRBool *_retval);
22 nsresult IsServiceInstantiatedByContractID(char *aContractID, nsIID * aIID, PRBool *_retval);
23
24 }
25