root/dwt/internal/mozilla/nsIProperties.d

Revision 327:b0d7eb5bd76c, 0.7 kB (checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)

Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win

Line 
1 module dwt.internal.mozilla.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 interface nsIProperties : nsISupports {
14
15   static const char[] IID_STR = NS_IPROPERTIES_IID_STR;
16   static const nsIID IID = NS_IPROPERTIES_IID;
17
18 extern(System):
19   nsresult Get(char *prop, nsIID * iid, void * *result);
20   nsresult Set(char *prop, nsISupports value);
21   nsresult Has(char *prop, PRBool *_retval);
22   nsresult Undefine(char *prop);
23   nsresult GetKeys(PRUint32 *count, char ***keys);
24
25 }
Note: See TracBrowser for help on using the browser.