1 module org.eclipse.swt.internal.mozilla.nsIProperties; 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 9 const char[] NS_IPROPERTIES_IID_STR = "78650582-4e93-4b60-8e85-26ebd3eb14ca"; 10 11 const nsIID NS_IPROPERTIES_IID= 12 {0x78650582, 0x4e93, 0x4b60, 13 [ 0x8e, 0x85, 0x26, 0xeb, 0xd3, 0xeb, 0x14, 0xca ]}; 14 15 interface nsIProperties : nsISupports { 16 17 static const char[] IID_STR = NS_IPROPERTIES_IID_STR; 18 static const nsIID IID = NS_IPROPERTIES_IID; 19 20 extern(System): 21 nsresult Get(in char *prop, in nsIID * iid, void * *result); 22 nsresult Set(in char *prop, nsISupports value); 23 nsresult Has(in char *prop, PRBool *_retval); 24 nsresult Undefine(in char *prop); 25 nsresult GetKeys(PRUint32 *count, char ***keys); 26 27 } 28