1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIAppShell extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 8; 33 34 public static final String NS_IAPPSHELL_IID_STR = 35 "a0757c31-eeac-11d1-9ec1-00aa002fb821"; 36 37 public static final nsID NS_IAPPSHELL_IID = 38 new nsID(NS_IAPPSHELL_IID_STR); 39 40 public nsIAppShell(int address) { 41 super(address); 42 } 43 44 public int Create(int argc, int [] argv) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), argc, argv); 46 } 47 48 public int Run() { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress()); 50 } 51 52 public int Spinup() { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress()); 54 } 55 56 public int Spindown() { 57 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4, getAddress()); 58 } 59 60 public int ListenToEventQueue(int aQueue, boolean aListen) { 61 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 5, getAddress(), aQueue, aListen); 62 } 63 64 public int GetNativeEvent(int aRealEvent, int [] aEvent) { 65 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 6, getAddress(), aRealEvent, aEvent); 66 } 67 68 public int DispatchNativeEvent(boolean aRealEvent, int aEvent) { 69 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 7, getAddress(), aRealEvent, aEvent); 70 } 71 72 public int Exit() { 73 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 8, getAddress()); 74 } 75 } | Popular Tags |