1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsISimpleEnumerator extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 2; 33 34 public static final String NS_ISIMPLEENUMERATOR_IID_STR = 35 "d1899240-f9d2-11d2-bdd6-000064657374"; 36 37 public static final nsID NS_ISIMPLEENUMERATOR_IID = 38 new nsID(NS_ISIMPLEENUMERATOR_IID_STR); 39 40 public nsISimpleEnumerator(int address) { 41 super(address); 42 } 43 44 public int HasMoreElements(boolean[] _retval) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), _retval); 46 } 47 48 public int GetNext(int [] _retval) { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), _retval); 50 } 51 } 52 | Popular Tags |