view dwt/internal/mozilla/nsIHelperAppLauncherDialog.d @ 341:942da4b6558a

Ongoing fixup for compile
author John Reimer <terminal.node@gmail.com>
date Sun, 26 Oct 2008 21:19:51 -0700
parents dd63eb078d7a
children 2e591eb01162
line wrap: on
line source

module dwt.internal.mozilla.nsIHelperAppLauncherDialog;

import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
import dwt.internal.mozilla.nsIExternalHelperAppService;
import dwt.internal.mozilla.nsILocalFile;

const char[] NS_IHELPERAPPLAUNCHERDIALOG_IID_STR = "64355793-988d-40a5-ba8e-fcde78cac631";

const nsIID NS_IHELPERAPPLAUNCHERDIALOG_IID= 
  {0x64355793, 0x988d, 0x40a5, 
    [ 0xba, 0x8e, 0xfc, 0xde, 0x78, 0xca, 0xc6, 0x31 ]};

//extern(System)

interface nsIHelperAppLauncherDialog : nsISupports {

  static const char[] IID_STR = NS_IHELPERAPPLAUNCHERDIALOG_IID_STR;
  static const nsIID IID = NS_IHELPERAPPLAUNCHERDIALOG_IID;

  enum { REASON_CANTHANDLE = 0U };
  enum { REASON_SERVERREQUEST = 1U };
  enum { REASON_TYPESNIFFED = 2U };
  nsresult Show(nsIHelperAppLauncher aLauncher, nsISupports aContext, PRUint32 aReason);
  nsresult PromptForSaveToFile(nsIHelperAppLauncher aLauncher, nsISupports aWindowContext, PRUnichar *aDefaultFile, PRUnichar *aSuggestedFileExtension, nsILocalFile *_retval);

}