| 1 |
module dwt.internal.mozilla.nsIHelperAppLauncher_1_9; |
|---|
| 2 |
|
|---|
| 3 |
private import dwt.internal.mozilla.Common; |
|---|
| 4 |
private import dwt.internal.mozilla.nsID; |
|---|
| 5 |
private import dwt.internal.mozilla.nsICancelable; |
|---|
| 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.nsIWebProgressListener2; |
|---|
| 10 |
private import dwt.internal.mozilla.nsStringAPI; |
|---|
| 11 |
private import dwt.internal.mozilla.prtime; |
|---|
| 12 |
|
|---|
| 13 |
const char[] NS_IHELPERAPPLAUNCHER_1_9_IID_STR = "cc75c21a-0a79-4f68-90e1-563253d0c555"; |
|---|
| 14 |
|
|---|
| 15 |
const nsIID NS_IHELPERAPPLAUNCHER_1_9_IID= |
|---|
| 16 |
{0xcc75c21a, 0x0a79, 0x4f68, |
|---|
| 17 |
[ 0x90, 0xe1, 0x56, 0x32, 0x53, 0xd0, 0xc5, 0x55 ]}; |
|---|
| 18 |
|
|---|
| 19 |
interface nsIHelperAppLauncher_1_9 : nsICancelable { |
|---|
| 20 |
|
|---|
| 21 |
static const char[] IID_STR = NS_IHELPERAPPLAUNCHER_1_9_IID_STR; |
|---|
| 22 |
static const nsIID IID = NS_IHELPERAPPLAUNCHER_1_9_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 SetWebProgressListener(nsIWebProgressListener2 aWebProgressListener); |
|---|
| 31 |
nsresult CloseProgressWindow(); |
|---|
| 32 |
nsresult GetTargetFile(nsIFile *aTargetFile); |
|---|
| 33 |
nsresult GetTargetFileIsExecutable(PRBool* aTargetFileIsExecutable); |
|---|
| 34 |
nsresult GetTimeDownloadStarted(PRTime *aTimeDownloadStarted); |
|---|
| 35 |
} |
|---|