comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:6dd524f61e62
1 module org.eclipse.swt.internal.mozilla.nsIHelperAppLauncher_1_9;
2
3 private import org.eclipse.swt.internal.mozilla.Common;
4 private import org.eclipse.swt.internal.mozilla.nsID;
5 private import org.eclipse.swt.internal.mozilla.nsICancelable;
6 private import org.eclipse.swt.internal.mozilla.nsIURI;
7 private import org.eclipse.swt.internal.mozilla.nsIMIMEInfo;
8 private import org.eclipse.swt.internal.mozilla.nsIFile;
9 private import org.eclipse.swt.internal.mozilla.nsIWebProgressListener2;
10 private import org.eclipse.swt.internal.mozilla.nsStringAPI;
11 private import org.eclipse.swt.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 }