1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIHelperAppLauncherDialog extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 3; 33 34 public static final String NS_IHELPERAPPLAUNCHERDIALOG_IID_STR = 35 "d7ebddf0-4c84-11d4-807a-00600811a9c3"; 36 37 public static final nsID NS_IHELPERAPPLAUNCHERDIALOG_IID = 38 new nsID(NS_IHELPERAPPLAUNCHERDIALOG_IID_STR); 39 40 public nsIHelperAppLauncherDialog(int address) { 41 super(address); 42 } 43 44 public int Show(int aLauncher, int aContext) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), aLauncher, aContext); 46 } 47 48 public int PromptForSaveToFile(int aWindowContext, char[] aDefaultFile, char[] aSuggestedFileExtension, int [] _retval) { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), aWindowContext, aDefaultFile, aSuggestedFileExtension, _retval); 50 } 51 52 public int ShowProgressDialog(int aLauncher, int aContext) { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress(), aLauncher, aContext); 54 } 55 } | Popular Tags |