root/dwt/internal/mozilla/nsIHelperAppLauncherDialog_1_9.d

Revision 327:b0d7eb5bd76c, 1.1 kB (checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)

Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win

Line 
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 }
Note: See TracBrowser for help on using the browser.