Mercurial > projects > dwt-win
comparison dwt/internal/mozilla/nsIProperties.d @ 327:b0d7eb5bd76c
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 17:45:10 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
326:e4d29367b1fa | 327:b0d7eb5bd76c |
---|---|
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 } | |
26 |