annotate dwt/internal/mozilla/nsIHelperAppLauncher_1_9.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
298
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1 module dwt.internal.mozilla.nsIHelperAppLauncher_1_9;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3 private import dwt.internal.mozilla.Common;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
4 private import dwt.internal.mozilla.nsID;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
5 private import dwt.internal.mozilla.nsICancelable;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
6 private import dwt.internal.mozilla.nsIURI;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
7 private import dwt.internal.mozilla.nsIMIMEInfo;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
8 private import dwt.internal.mozilla.nsIFile;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
9 private import dwt.internal.mozilla.nsIWebProgressListener2;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
10 private import dwt.internal.mozilla.nsStringAPI;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
11 private import dwt.internal.mozilla.prtime;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
12
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
13 const char[] NS_IHELPERAPPLAUNCHER_1_9_IID_STR = "cc75c21a-0a79-4f68-90e1-563253d0c555";
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
14
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
15 const nsIID NS_IHELPERAPPLAUNCHER_1_9_IID=
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
16 {0xcc75c21a, 0x0a79, 0x4f68,
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
17 [ 0x90, 0xe1, 0x56, 0x32, 0x53, 0xd0, 0xc5, 0x55 ]};
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
18
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
19 interface nsIHelperAppLauncher_1_9 : nsICancelable {
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
20
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
21 static const char[] IID_STR = NS_IHELPERAPPLAUNCHER_1_9_IID_STR;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
22 static const nsIID IID = NS_IHELPERAPPLAUNCHER_1_9_IID;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
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
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
25 nsresult GetMIMEInfo(nsIMIMEInfo *aMIMEInfo);
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
26 nsresult GetSource(nsIURI *aSource);
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
27 nsresult GetSuggestedFileName(nsAString * aSuggestedFileName);
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
28 nsresult SaveToDisk(nsIFile aNewFileLocation, PRBool aRememberThisPreference);
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
29 nsresult LaunchWithApplication(nsIFile aApplication, PRBool aRememberThisPreference);
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
30 nsresult SetWebProgressListener(nsIWebProgressListener2 aWebProgressListener);
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
31 nsresult CloseProgressWindow();
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
32 nsresult GetTargetFile(nsIFile *aTargetFile);
341
942da4b6558a Ongoing fixup for compile
John Reimer <terminal.node@gmail.com>
parents: 298
diff changeset
33 nsresult GetTargetFileIsExecutable(PRBool* aTargetFileIsExecutable);
298
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
34 nsresult GetTimeDownloadStarted(PRTime *aTimeDownloadStarted);
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
35 }