annotate dwt/internal/mozilla/nsIHelperAppLauncher_1_8.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_8;
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_8_IID_STR = "99a0882d-2ff9-4659-9952-9ac531ba5592";
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_8_IID=
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
16 {0x99a0882d, 0x2ff9, 0x4659,
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
17 [ 0x99, 0x52, 0x9a, 0xc5, 0x31, 0xba, 0x55, 0x92 ]};
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_8 : 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_8_IID_STR;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
22 static const nsIID IID = NS_IHELPERAPPLAUNCHER_1_8_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);
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
33 nsresult GetTimeDownloadStarted(PRTime *aTimeDownloadStarted);
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
34
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
35 }