1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIControllers extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 11; 33 34 public static final String NS_ICONTROLLERS_IID_STRING = 35 "A5ED3A01-7CC7-11d3-BF87-00105A1B0627"; 36 37 public static final nsID NS_ICONTROLLERS_IID = 38 new nsID(NS_ICONTROLLERS_IID_STRING); 39 40 public nsIControllers(int address) { 41 super(address); 42 } 43 44 public int GetCommandDispatcher(int[] aCommandDispatcher) { 45 return XPCOM.VtblCall(super.LAST_METHOD_ID + 1, getAddress(), aCommandDispatcher); 46 } 47 48 public int SetCommandDispatcher(int aCommandDispatcher) { 49 return XPCOM.VtblCall(super.LAST_METHOD_ID + 2, getAddress(), aCommandDispatcher); 50 } 51 52 public int GetControllerForCommand(byte[] command, int[] _retval) { 53 return XPCOM.VtblCall(super.LAST_METHOD_ID + 3, getAddress(), command, _retval); 54 } 55 56 public int InsertControllerAt(int index, int controller) { 57 return XPCOM.VtblCall(super.LAST_METHOD_ID + 4, getAddress(), index, controller); 58 } 59 60 public int RemoveControllerAt(int index, int[] _retval) { 61 return XPCOM.VtblCall(super.LAST_METHOD_ID + 5, getAddress(), index, _retval); 62 } 63 64 public int GetControllerAt(int index, int[] _retval) { 65 return XPCOM.VtblCall(super.LAST_METHOD_ID + 6, getAddress(), index, _retval); 66 } 67 68 public int AppendController(int controller) { 69 return XPCOM.VtblCall(super.LAST_METHOD_ID + 7, getAddress(), controller); 70 } 71 72 public int RemoveController(int controller) { 73 return XPCOM.VtblCall(super.LAST_METHOD_ID + 8, getAddress(), controller); 74 } 75 76 public int GetControllerId(int controller, int[] _retval) { 77 return XPCOM.VtblCall(super.LAST_METHOD_ID + 9, getAddress(), controller, _retval); 78 } 79 80 public int GetControllerById(int controllerID, int[] _retval) { 81 return XPCOM.VtblCall(super.LAST_METHOD_ID + 10, getAddress(), controllerID, _retval); 82 } 83 84 public int GetControllerCount(int[] _retval) { 85 return XPCOM.VtblCall(super.LAST_METHOD_ID + 11, getAddress(), _retval); 86 } 87 } | Popular Tags |