annotate dwt/internal/mozilla/nsIHelperAppLauncher.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;
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.nsISupports;
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.nsIWebProgressListener;
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_IID_STR = "9503d0fe-4c9d-11d4-98d0-001083010e9b";
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_IID=
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
16 {0x9503d0fe, 0x4c9d, 0x11d4,
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
17 [ 0x98, 0xd0, 0x00, 0x10, 0x83, 0x01, 0x0e, 0x9b ]};
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 : nsISupports {
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_IID_STR;
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
22 static const nsIID IID = NS_IHELPERAPPLAUNCHER_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 Cancel();
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
31 nsresult SetWebProgressListener(nsIWebProgressListener aWebProgressListener);
eec6ddb07873 More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
32 nsresult CloseProgressWindow();
341
942da4b6558a Ongoing fixup for compile
John Reimer <terminal.node@gmail.com>
parents: 298
diff changeset
33 nsresult GetDownloadInfo( nsIURI* aSourceUrl, PRTime* aTimeDownloadStarted, nsIFile* result);
298
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 }