Mercurial > projects > dwt-win
diff dwt/internal/mozilla/nsIHelperAppLauncher_1_9.d @ 327:b0d7eb5bd76c
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 17:45:10 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwt/internal/mozilla/nsIHelperAppLauncher_1_9.d Fri Jan 02 17:45:10 2009 -0800 @@ -0,0 +1,35 @@ +module dwt.internal.mozilla.nsIHelperAppLauncher_1_9; + +private import dwt.internal.mozilla.Common; +private import dwt.internal.mozilla.nsID; +private import dwt.internal.mozilla.nsICancelable; +private import dwt.internal.mozilla.nsIURI; +private import dwt.internal.mozilla.nsIMIMEInfo; +private import dwt.internal.mozilla.nsIFile; +private import dwt.internal.mozilla.nsIWebProgressListener2; +private import dwt.internal.mozilla.nsStringAPI; +private import dwt.internal.mozilla.prtime; + +const char[] NS_IHELPERAPPLAUNCHER_1_9_IID_STR = "cc75c21a-0a79-4f68-90e1-563253d0c555"; + +const nsIID NS_IHELPERAPPLAUNCHER_1_9_IID= + {0xcc75c21a, 0x0a79, 0x4f68, + [ 0x90, 0xe1, 0x56, 0x32, 0x53, 0xd0, 0xc5, 0x55 ]}; + +interface nsIHelperAppLauncher_1_9 : nsICancelable { + + static const char[] IID_STR = NS_IHELPERAPPLAUNCHER_1_9_IID_STR; + static const nsIID IID = NS_IHELPERAPPLAUNCHER_1_9_IID; + +extern(System): + nsresult GetMIMEInfo(nsIMIMEInfo *aMIMEInfo); + nsresult GetSource(nsIURI *aSource); + nsresult GetSuggestedFileName(nsAString * aSuggestedFileName); + nsresult SaveToDisk(nsIFile aNewFileLocation, PRBool aRememberThisPreference); + nsresult LaunchWithApplication(nsIFile aApplication, PRBool aRememberThisPreference); + nsresult SetWebProgressListener(nsIWebProgressListener2 aWebProgressListener); + nsresult CloseProgressWindow(); + nsresult GetTargetFile(nsIFile *aTargetFile); + nsresult GetTargetFileIsExecutable(PRBool* aTargetFileIsExecutable); + nsresult GetTimeDownloadStarted(PRTime *aTimeDownloadStarted); +} \ No newline at end of file