root/dwt/internal/mozilla/nsIHelperAppLauncherDialog.d

Revision 327:b0d7eb5bd76c, 1.0 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;
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;
7 import dwt.internal.mozilla.nsILocalFile;
8
9 const char[] NS_IHELPERAPPLAUNCHERDIALOG_IID_STR = "d7ebddf0-4c84-11d4-807a-00600811a9c3";
10
11 const nsIID NS_IHELPERAPPLAUNCHERDIALOG_IID=
12   { 0xd7ebddf0, 0x4c84, 0x11d4, [ 0x80,0x7a,0x00,0x60,0x08,0x11,0xa9,0xc3 ]};
13
14 interface nsIHelperAppLauncherDialog : nsISupports {
15
16   static const char[] IID_STR = NS_IHELPERAPPLAUNCHERDIALOG_IID_STR;
17   static const nsIID IID = NS_IHELPERAPPLAUNCHERDIALOG_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 aLauncher, nsISupports aContext, PRUint32 aReason);
25   nsresult PromptForSaveToFile(nsIHelperAppLauncher aLauncher, nsISupports aWindowContext, PRUnichar *aDefaultFile, PRUnichar *aSuggestedFileExtension, nsILocalFile *_retval);
26
27 }
Note: See TracBrowser for help on using the browser.