125
|
1 module dwt.internal.mozilla.nsIHelperAppLauncher;
|
|
2
|
|
3 private import dwt.internal.mozilla.Common;
|
|
4 private import dwt.internal.mozilla.nsID;
|
|
5 private import dwt.internal.mozilla.nsISupports;
|
|
6 private import dwt.internal.mozilla.nsIURI;
|
|
7 private import dwt.internal.mozilla.nsIMIMEInfo;
|
|
8 private import dwt.internal.mozilla.nsIFile;
|
|
9 private import dwt.internal.mozilla.nsIWebProgressListener;
|
|
10 private import dwt.internal.mozilla.nsStringAPI;
|
|
11 private import dwt.internal.mozilla.prtime;
|
|
12
|
|
13 const char[] NS_IHELPERAPPLAUNCHER_IID_STR = "9503d0fe-4c9d-11d4-98d0-001083010e9b";
|
|
14
|
|
15 const nsIID NS_IHELPERAPPLAUNCHER_IID=
|
|
16 {0x9503d0fe, 0x4c9d, 0x11d4,
|
|
17 [ 0x98, 0xd0, 0x00, 0x10, 0x83, 0x01, 0x0e, 0x9b ]};
|
|
18
|
|
19 interface nsIHelperAppLauncher : nsISupports {
|
|
20
|
|
21 static const char[] IID_STR = NS_IHELPERAPPLAUNCHER_IID_STR;
|
|
22 static const nsIID IID = NS_IHELPERAPPLAUNCHER_IID;
|
|
23
|
|
24 extern(System):
|
|
25 nsresult GetMIMEInfo(nsIMIMEInfo *aMIMEInfo);
|
|
26 nsresult GetSource(nsIURI *aSource);
|
|
27 nsresult GetSuggestedFileName(nsAString * aSuggestedFileName);
|
|
28 nsresult SaveToDisk(nsIFile aNewFileLocation, PRBool aRememberThisPreference);
|
|
29 nsresult LaunchWithApplication(nsIFile aApplication, PRBool aRememberThisPreference);
|
|
30 nsresult Cancel();
|
|
31 nsresult SetWebProgressListener(nsIWebProgressListener aWebProgressListener);
|
|
32 nsresult CloseProgressWindow();
|
|
33 nsresult GetDownloadInfo( nsIURI* aSourceUrl, PRTime* aTimeDownloadStarted, nsIFile* result);
|
|
34
|
|
35 } |