comparison dwt/internal/mozilla.old/nsIProperties.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 mozilla.xpcom.nsIProperties;
2
3 import dwt.internal.mozilla.Common;
4 import dwt.internal.mozilla.nsID;
5 import dwt.internal.mozilla.nsISupports;
6
7 const char[] NS_IPROPERTIES_IID_STR = "78650582-4e93-4b60-8e85-26ebd3eb14ca";
8
9 const nsIID NS_IPROPERTIES_IID=
10 {0x78650582, 0x4e93, 0x4b60,
11 [ 0x8e, 0x85, 0x26, 0xeb, 0xd3, 0xeb, 0x14, 0xca ]};
12
13 extern(System)
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 nsresult Get(char *prop, nsIID * iid, void * *result);
21 nsresult Set(char *prop, nsISupports value);
22 nsresult Has(char *prop, PRBool *_retval);
23 nsresult Undefine(char *prop);
24 nsresult GetKeys(PRUint32 *count, char ***keys);
25
26 }
27