Mercurial > projects > dwt-linux
annotate dwt/internal/mozilla/nsIHelperAppLauncher.d @ 348:9a4d7706df52
Test Update to fix linux XPCOM interface issues
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 31 Oct 2008 21:46:44 -0700 |
parents | 942da4b6558a |
children |
rev | line source |
---|---|
298 | 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 | |
348
9a4d7706df52
Test Update to fix linux XPCOM interface issues
John Reimer <terminal.node@gmail.com>
parents:
341
diff
changeset
|
24 extern(System): |
298 | 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(); | |
341
942da4b6558a
Ongoing fixup for compile
John Reimer <terminal.node@gmail.com>
parents:
298
diff
changeset
|
33 nsresult GetDownloadInfo( nsIURI* aSourceUrl, PRTime* aTimeDownloadStarted, nsIFile* result); |
298 | 34 |
35 } |