1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsICategoryManager extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 6; 33 34 public static final String NS_ICATEGORYMANAGER_IID_STR = 35 "3275b2cd-af6d-429a-80d7-f0c5120342ac"; 36 37 public static final nsID NS_ICATEGORYMANAGER_IID = 38 new nsID(NS_ICATEGORYMANAGER_IID_STR); 39 40 public nsICategoryManager(int address) { 41 super(address); 42 } 43 44 public int GetCategoryEntry(byte[] aCategory, byte[] aEntry, int [] _retval) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), aCategory, aEntry, _retval); 46 } 47 48 public int AddCategoryEntry(byte[] aCategory, byte[] aEntry, byte[] aValue, boolean aPersist, boolean aReplace, int [] _retval) { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), aCategory, aEntry, aValue, aPersist, aReplace, _retval); 50 } 51 52 public int DeleteCategoryEntry(byte[] aCategory, byte[] aEntry, boolean aPersist) { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress(), aCategory, aEntry, aPersist); 54 } 55 56 public int DeleteCategory(byte[] aCategory) { 57 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4, getAddress(), aCategory); 58 } 59 60 public int EnumerateCategory(byte[] aCategory, int [] _retval) { 61 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 5, getAddress(), aCategory, _retval); 62 } 63 64 public int EnumerateCategories(int [] _retval) { 65 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 6, getAddress(), _retval); 66 } 67 } | Popular Tags |