Mercurial > projects > dwt-linux
diff dwt/internal/mozilla.old/nsICategoryManager.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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwt/internal/mozilla.old/nsICategoryManager.d Tue Aug 05 18:00:50 2008 -0700 @@ -0,0 +1,28 @@ +module dwt.internal.mozilla.nsICategoryManager; + +import dwt.internal.mozilla.Common; +import dwt.internal.mozilla.nsID; +import dwt.internal.mozilla.nsISupports; +import dwt.internal.mozilla.nsISimpleEnumerator; + +const char[] NS_ICATEGORYMANAGER_IID_STR = "3275b2cd-af6d-429a-80d7-f0c5120342ac"; + +const nsIID NS_ICATEGORYMANAGER_IID= + {0x3275b2cd, 0xaf6d, 0x429a, + [ 0x80, 0xd7, 0xf0, 0xc5, 0x12, 0x03, 0x42, 0xac ]}; + +extern(System) + +interface nsICategoryManager : nsISupports { + + static const char[] IID_STR = NS_ICATEGORYMANAGER_IID_STR; + static const nsIID IID = NS_ICATEGORYMANAGER_IID; + + nsresult GetCategoryEntry(char *aCategory, char *aEntry, char **_retval); + nsresult AddCategoryEntry(char *aCategory, char *aEntry, char *aValue, PRBool aPersist, PRBool aReplace, char **_retval); + nsresult DeleteCategoryEntry(char *aCategory, char *aEntry, PRBool aPersist); + nsresult DeleteCategory(char *aCategory); + nsresult EnumerateCategory(char *aCategory, nsISimpleEnumerator *_retval); + nsresult EnumerateCategories(nsISimpleEnumerator *_retval); +} +