1 
2 module org.eclipse.swt.internal.mozilla.nsIFactory;
3 
4 import java.lang.all;
5 
6 import org.eclipse.swt.internal.mozilla.Common;
7 import org.eclipse.swt.internal.mozilla.nsID;
8 import org.eclipse.swt.internal.mozilla.nsISupports;
9 
10 const char[] NS_IFACTORY_IID_STR = "00000001-0000-0000-c000-000000000046";
11 
12 const nsIID NS_IFACTORY_IID= 
13   {0x00000001, 0x0000, 0x0000, 
14     [ 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 ]};
15 
16 interface nsIFactory : nsISupports {
17 
18   static const char[] IID_STR = NS_IFACTORY_IID_STR;
19   static const nsIID IID = NS_IFACTORY_IID;
20 
21 extern(System):
22   nsresult CreateInstance(nsISupports aOuter, nsIID * iid, void * *result);
23   nsresult LockFactory(PRBool lock);
24 }