1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIHelperAppLauncher extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 9; 33 34 public static final String NS_IHELPERAPPLAUNCHER_IID_STR = 35 "9503d0fe-4c9d-11d4-98d0-001083010e9b"; 36 37 public static final nsID NS_IHELPERAPPLAUNCHER_IID = 38 new nsID(NS_IHELPERAPPLAUNCHER_IID_STR); 39 40 public nsIHelperAppLauncher(int address) { 41 super(address); 42 } 43 44 public int GetMIMEInfo(int [] aMIMEInfo) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), aMIMEInfo); 46 } 47 48 public int GetSource(int [] aSource) { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), aSource); 50 } 51 52 public int GetSuggestedFileName(int [] aSuggestedFileName) { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress(), aSuggestedFileName); 54 } 55 56 public int SaveToDisk(int aNewFileLocation, boolean aRememberThisPreference) { 57 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4, getAddress(), aNewFileLocation, aRememberThisPreference); 58 } 59 60 public int LaunchWithApplication(int aApplication, boolean aRememberThisPreference) { 61 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 5, getAddress(), aApplication, aRememberThisPreference); 62 } 63 64 public int Cancel() { 65 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 6, getAddress()); 66 } 67 68 public int SetWebProgressListener(int aWebProgressListener) { 69 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 7, getAddress(), aWebProgressListener); 70 } 71 72 public int CloseProgressWindow() { 73 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 8, getAddress()); 74 } 75 76 public int GetDownloadInfo(int [] aSourceUrl, long[] aTimeDownloadStarted, int [] _retval) { 77 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 9, getAddress(), aSourceUrl, aTimeDownloadStarted, _retval); 78 } 79 } | Popular Tags |