1 module org.eclipse.swt.internal.mozilla.nsIComponentManager; 2 3 import java.lang.all; 4 5 import org.eclipse.swt.internal.mozilla.Common; 6 import org.eclipse.swt.internal.mozilla.nsID; 7 import org.eclipse.swt.internal.mozilla.nsISupports; 8 import org.eclipse.swt.internal.mozilla.nsIFactory; 9 10 const char[] NS_ICOMPONENTMANAGER_IID_STR = "a88e5a60-205a-4bb1-94e1-2628daf51eae"; 11 12 const nsIID NS_ICOMPONENTMANAGER_IID= 13 {0xa88e5a60, 0x205a, 0x4bb1, 14 [ 0x94, 0xe1, 0x26, 0x28, 0xda, 0xf5, 0x1e, 0xae ]}; 15 16 interface nsIComponentManager : nsISupports { 17 static const char[] IID_STR = NS_ICOMPONENTMANAGER_IID_STR; 18 static const nsIID IID = NS_ICOMPONENTMANAGER_IID; 19 20 extern(System): 21 nsresult GetClassObject(in nsCID * aClass, nsIID * aIID, void * *result); 22 nsresult GetClassObjectByContractID(in char *aContractID, nsIID * aIID, void * *result); 23 nsresult CreateInstance(in nsCID * aClass, nsISupports aDelegate, in nsIID * aIID, void * *result); 24 nsresult CreateInstanceByContractID(in char *aContractID, nsISupports aDelegate, in nsIID * aIID, void * *result); 25 } 26