Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIHelperAppLauncherDialog_1_9.d @ 353:7f3013c93a95
Oops... Add new 3.4.1 files
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Tue, 04 Nov 2008 21:21:43 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
352:a3c5f744d03f | 353:7f3013c93a95 |
---|---|
1 module dwt.internal.mozilla.nsIHelperAppLauncherDialog_1_9; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 import dwt.internal.mozilla.nsIHelperAppLauncher_1_9; | |
7 import dwt.internal.mozilla.nsILocalFile; | |
8 | |
9 const char[] NS_IHELPERAPPLAUNCHERDIALOG_1_9_IID_STR = "f3704fdc-8ae6-4eba-a3c3-f02958ac0649"; | |
10 | |
11 const nsIID NS_IHELPERAPPLAUNCHERDIALOG_1_9_IID= | |
12 { 0xf3704fdc, 0x8ae6, 0x4eba, [ 0xa3,0xc3,0xf0,0x29,0x58,0xac,0x06,0x49 ]}; | |
13 | |
14 interface nsIHelperAppLauncherDialog_1_9 : nsISupports { | |
15 | |
16 static const char[] IID_STR = NS_IHELPERAPPLAUNCHERDIALOG_1_9_IID_STR; | |
17 static const nsIID IID = NS_IHELPERAPPLAUNCHERDIALOG_1_9_IID; | |
18 | |
19 enum { REASON_CANTHANDLE = 0U }; | |
20 enum { REASON_SERVERREQUEST = 1U }; | |
21 enum { REASON_TYPESNIFFED = 2U }; | |
22 | |
23 extern(System): | |
24 nsresult Show(nsIHelperAppLauncher_1_9 aLauncher, nsISupports aContext, PRUint32 aReason); | |
25 nsresult PromptForSaveToFile(nsIHelperAppLauncher_1_9 aLauncher, nsISupports aWindowContext, PRUnichar *aDefaultFile, PRUnichar *aSuggestedFileExtension, PRBool aForcePrompt, nsILocalFile *_retval); | |
26 | |
27 } | |
28 |