1 module org.eclipse.swt.internal.mozilla.nsIHelperAppLauncher_1_8;
2 
3 import java.lang.all;
4 
5 private import org.eclipse.swt.internal.mozilla.Common;
6 private import org.eclipse.swt.internal.mozilla.nsID;
7 private import org.eclipse.swt.internal.mozilla.nsICancelable;
8 private import org.eclipse.swt.internal.mozilla.nsIURI;
9 private import org.eclipse.swt.internal.mozilla.nsIMIMEInfo;
10 private import org.eclipse.swt.internal.mozilla.nsIFile;
11 private import org.eclipse.swt.internal.mozilla.nsIWebProgressListener2;
12 private import org.eclipse.swt.internal.mozilla.nsStringAPI;
13 private import org.eclipse.swt.internal.mozilla.prtime;
14 
15 const char[] NS_IHELPERAPPLAUNCHER_1_8_IID_STR = "99a0882d-2ff9-4659-9952-9ac531ba5592";
16 
17 const nsIID NS_IHELPERAPPLAUNCHER_1_8_IID= 
18   {0x99a0882d, 0x2ff9, 0x4659, 
19     [ 0x99, 0x52, 0x9a, 0xc5, 0x31, 0xba, 0x55, 0x92 ]};
20 
21 interface nsIHelperAppLauncher_1_8 : nsICancelable {
22 
23   static const char[] IID_STR = NS_IHELPERAPPLAUNCHER_1_8_IID_STR;
24   static const nsIID IID = NS_IHELPERAPPLAUNCHER_1_8_IID;
25 
26 extern(System):
27   nsresult GetMIMEInfo(nsIMIMEInfo  *aMIMEInfo);
28   nsresult GetSource(nsIURI  *aSource);
29   nsresult GetSuggestedFileName(nsAString * aSuggestedFileName);
30   nsresult SaveToDisk(nsIFile aNewFileLocation, PRBool aRememberThisPreference);
31   nsresult LaunchWithApplication(nsIFile aApplication, PRBool aRememberThisPreference);
32   nsresult SetWebProgressListener(nsIWebProgressListener2 aWebProgressListener);
33   nsresult CloseProgressWindow();
34   nsresult GetTargetFile(nsIFile  *aTargetFile);
35   nsresult GetTimeDownloadStarted(PRTime *aTimeDownloadStarted);
36 
37 }