1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIJSContextStack extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 4; 33 34 public static final String NS_IJSCONTEXTSTACK_IID_STR = 35 "c67d8270-3189-11d3-9885-006008962422"; 36 37 public static final nsID NS_IJSCONTEXTSTACK_IID = 38 new nsID(NS_IJSCONTEXTSTACK_IID_STR); 39 40 public nsIJSContextStack(int address) { 41 super(address); 42 } 43 44 public int GetCount(int[] aCount) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), aCount); 46 } 47 48 public int Peek(int [] _retval) { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), _retval); 50 } 51 52 public int Pop(int [] _retval) { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress(), _retval); 54 } 55 56 public int Push(int cx) { 57 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4, getAddress(), cx); 58 } 59 } | Popular Tags |