1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIProperties extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 5; 33 34 public static final String NS_IPROPERTIES_IID_STR = 35 "78650582-4e93-4b60-8e85-26ebd3eb14ca"; 36 37 public static final nsID NS_IPROPERTIES_IID = 38 new nsID(NS_IPROPERTIES_IID_STR); 39 40 public nsIProperties(int address) { 41 super(address); 42 } 43 44 public int Get(byte[] prop, nsID iid, int [] result) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), prop, iid, result); 46 } 47 48 public int Set(byte[] prop, int value) { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), prop, value); 50 } 51 52 public int Has(byte[] prop, boolean[] _retval) { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress(), prop, _retval); 54 } 55 56 public int Undefine(byte[] prop) { 57 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4, getAddress(), prop); 58 } 59 60 public int GetKeys(int[] count, int [] keys) { 61 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 5, getAddress(), count, keys); 62 } 63 } 64 | Popular Tags |