1 module org.eclipse.swt.internal.mozilla.nsICategoryManager;
2 
3 import java.lang.all;
4 
5 import org.eclipse.swt.internal.mozilla.Common;
6 import org.eclipse.swt.internal.mozilla.nsID;
7 import org.eclipse.swt.internal.mozilla.nsISupports;
8 import org.eclipse.swt.internal.mozilla.nsISimpleEnumerator;
9 
10 const char[] NS_ICATEGORYMANAGER_IID_STR = "3275b2cd-af6d-429a-80d7-f0c5120342ac";
11 
12 const nsIID NS_ICATEGORYMANAGER_IID= 
13   {0x3275b2cd, 0xaf6d, 0x429a, 
14     [ 0x80, 0xd7, 0xf0, 0xc5, 0x12, 0x03, 0x42, 0xac ]};
15 
16 interface nsICategoryManager : nsISupports {
17 
18   static const char[] IID_STR = NS_ICATEGORYMANAGER_IID_STR;
19   static const nsIID IID = NS_ICATEGORYMANAGER_IID;
20 
21 extern(System):
22   nsresult GetCategoryEntry(in char *aCategory, in char *aEntry, char **_retval);
23   nsresult AddCategoryEntry(in char *aCategory, in char *aEntry, in char *aValue, PRBool aPersist, PRBool aReplace, char **_retval);
24   nsresult DeleteCategoryEntry(in char *aCategory, in char *aEntry, PRBool aPersist);
25   nsresult DeleteCategory(in char *aCategory);
26   nsresult EnumerateCategory(in char *aCategory, nsISimpleEnumerator *_retval);
27   nsresult EnumerateCategories(nsISimpleEnumerator *_retval);
28 }
29