comparison dwt/internal/mozilla/nsIHelperAppLauncherDialog_1_9.d @ 327:b0d7eb5bd76c

Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author John Reimer <terminal.node@gmail.com>
date Fri, 02 Jan 2009 17:45:10 -0800
parents
children
comparison
equal deleted inserted replaced
326:e4d29367b1fa 327:b0d7eb5bd76c
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