Mercurial > projects > dwt-linux
view dwt/internal/mozilla/nsIProperties.d @ 272:dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Fri, 18 Jul 2008 05:32:53 -0700 |
parents | |
children | 942da4b6558a |
line wrap: on
line source
module mozilla.xpcom.nsIProperties; import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsISupports; const char[] NS_IPROPERTIES_IID_STR = "78650582-4e93-4b60-8e85-26ebd3eb14ca"; const nsIID NS_IPROPERTIES_IID= {0x78650582, 0x4e93, 0x4b60, [ 0x8e, 0x85, 0x26, 0xeb, 0xd3, 0xeb, 0x14, 0xca ]}; extern(System) interface nsIProperties : nsISupports { static const char[] IID_STR = NS_IPROPERTIES_IID_STR; static const nsIID IID = NS_IPROPERTIES_IID; nsresult Get(char *prop, nsIID * iid, void * *result); nsresult Set(char *prop, nsISupports value); nsresult Has(char *prop, PRBool *_retval); nsresult Undefine(char *prop); nsresult GetKeys(PRUint32 *count, char ***keys); }