comparison dwt/internal/mozilla/nsIHelperAppLauncherDialog.d @ 346:2e591eb01162

Browser Package now compiles (phase 2 complete)
author John Reimer <terminal.node@gmail.com>
date Wed, 29 Oct 2008 20:06:08 -0700
parents 942da4b6558a
children 9a4d7706df52
comparison
equal deleted inserted replaced
345:5abc6f7f7a95 346:2e591eb01162
1 module dwt.internal.mozilla.nsIHelperAppLauncherDialog; 1 module dwt.internal.mozilla.nsIHelperAppLauncherDialog;
2 2
3 import dwt.internal.mozilla.Common; 3 import dwt.internal.mozilla.Common;
4 import dwt.internal.mozilla.nsID; 4 import dwt.internal.mozilla.nsID;
5 import dwt.internal.mozilla.nsISupports; 5 import dwt.internal.mozilla.nsISupports;
6 import dwt.internal.mozilla.nsIExternalHelperAppService; 6 import dwt.internal.mozilla.nsIHelperAppLauncher;
7 import dwt.internal.mozilla.nsILocalFile; 7 import dwt.internal.mozilla.nsILocalFile;
8 8
9 const char[] NS_IHELPERAPPLAUNCHERDIALOG_IID_STR = "64355793-988d-40a5-ba8e-fcde78cac631"; 9 const char[] NS_IHELPERAPPLAUNCHERDIALOG_IID_STR = "64355793-988d-40a5-ba8e-fcde78cac631";
10 10
11 const nsIID NS_IHELPERAPPLAUNCHERDIALOG_IID= 11 const nsIID NS_IHELPERAPPLAUNCHERDIALOG_IID=
20 static const nsIID IID = NS_IHELPERAPPLAUNCHERDIALOG_IID; 20 static const nsIID IID = NS_IHELPERAPPLAUNCHERDIALOG_IID;
21 21
22 enum { REASON_CANTHANDLE = 0U }; 22 enum { REASON_CANTHANDLE = 0U };
23 enum { REASON_SERVERREQUEST = 1U }; 23 enum { REASON_SERVERREQUEST = 1U };
24 enum { REASON_TYPESNIFFED = 2U }; 24 enum { REASON_TYPESNIFFED = 2U };
25
25 nsresult Show(nsIHelperAppLauncher aLauncher, nsISupports aContext, PRUint32 aReason); 26 nsresult Show(nsIHelperAppLauncher aLauncher, nsISupports aContext, PRUint32 aReason);
26 nsresult PromptForSaveToFile(nsIHelperAppLauncher aLauncher, nsISupports aWindowContext, PRUnichar *aDefaultFile, PRUnichar *aSuggestedFileExtension, nsILocalFile *_retval); 27 nsresult PromptForSaveToFile(nsIHelperAppLauncher aLauncher, nsISupports aWindowContext, PRUnichar *aDefaultFile, PRUnichar *aSuggestedFileExtension, nsILocalFile *_retval);
27 28
28 } 29 }
29 30