Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIHelperAppLauncher_1_9.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIHelperAppLauncher_1_9.d Mon Mar 02 14:44:16 2009 +0100 @@ -0,0 +1,35 @@ +module org.eclipse.swt.internal.mozilla.nsIHelperAppLauncher_1_9; + +private import org.eclipse.swt.internal.mozilla.Common; +private import org.eclipse.swt.internal.mozilla.nsID; +private import org.eclipse.swt.internal.mozilla.nsICancelable; +private import org.eclipse.swt.internal.mozilla.nsIURI; +private import org.eclipse.swt.internal.mozilla.nsIMIMEInfo; +private import org.eclipse.swt.internal.mozilla.nsIFile; +private import org.eclipse.swt.internal.mozilla.nsIWebProgressListener2; +private import org.eclipse.swt.internal.mozilla.nsStringAPI; +private import org.eclipse.swt.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); +}