1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIPrefLocalizedString extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 4; 33 34 public static final String NS_IPREFLOCALIZEDSTRING_IID_STR = 35 "ae419e24-1dd1-11b2-b39a-d3e5e7073802"; 36 37 public static final nsID NS_IPREFLOCALIZEDSTRING_IID = 38 new nsID(NS_IPREFLOCALIZEDSTRING_IID_STR); 39 40 public nsIPrefLocalizedString(int address) { 41 super(address); 42 } 43 44 public int GetData(int [] aData) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), aData); 46 } 47 48 public int SetData(char[] aData) { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), aData); 50 } 51 52 public int ToString(int [] _retval) { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress(), _retval); 54 } 55 56 public int SetDataWithLength(int length, char[] data) { 57 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4, getAddress(), length, data); 58 } 59 } 60 | Popular Tags |