text: /*
   * DO NOT EDIT.  THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/netwerk/base/public/nsIPrompt.idl
   */
  
  #ifndef __gen_nsIPrompt_h__
  #define __gen_nsIPrompt_h__
  
  
  #ifndef __gen_nsISupports_h__
  #include "nsISupports.h"
  #endif
  
  /* For IDL files that don't want to include root IDL files. */
  #ifndef NS_NO_VTABLE
  #define NS_NO_VTABLE
  #endif
  
  /* starting interface:    nsIPrompt */
  #define NS_IPROMPT_IID_STR "a63f70c0-148b-11d3-9333-00104ba0fd40"
  
  #define NS_IPROMPT_IID \
    {0xa63f70c0, 0x148b, 0x11d3, \
      { 0x93, 0x33, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40 }}
  
  class NS_NO_VTABLE NS_SCRIPTABLE nsIPrompt : public nsISupports {
   public: 
  
    NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPROMPT_IID)
  
    /* void alert (in wstring dialogTitle, in wstring text); */
    NS_SCRIPTABLE NS_IMETHOD Alert(const PRUnichar *dialogTitle, const PRUnichar *text) = 0;
  
    /* void alertCheck (in wstring dialogTitle, in wstring text, in wstring checkMsg, inout boolean checkValue); */
    NS_SCRIPTABLE NS_IMETHOD AlertCheck(const PRUnichar *dialogTitle, const PRUnichar *text, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM) = 0;
  
    /* boolean confirm (in wstring dialogTitle, in wstring text); */
    NS_SCRIPTABLE NS_IMETHOD Confirm(const PRUnichar *dialogTitle, const PRUnichar *text, PRBool *_retval NS_OUTPARAM) = 0;
  
    /* boolean confirmCheck (in wstring dialogTitle, in wstring text, in wstring checkMsg, inout boolean checkValue); */
    NS_SCRIPTABLE NS_IMETHOD ConfirmCheck(const PRUnichar *dialogTitle, const PRUnichar *text, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) = 0;
  
    enum { BUTTON_POS_0 = 1U };
  
    enum { BUTTON_POS_1 = 256U };
  
    enum { BUTTON_POS_2 = 65536U };
  
    enum { BUTTON_TITLE_OK = 1U };
  
    enum { BUTTON_TITLE_CANCEL = 2U };
  
    enum { BUTTON_TITLE_YES = 3U };
  
    enum { BUTTON_TITLE_NO = 4U };
  
    enum { BUTTON_TITLE_SAVE = 5U };
  
    enum { BUTTON_TITLE_DONT_SAVE = 6U };
  
    enum { BUTTON_TITLE_REVERT = 7U };
  
    enum { BUTTON_TITLE_IS_STRING = 127U };
  
    enum { BUTTON_POS_0_DEFAULT = 0U };
  
    enum { BUTTON_POS_1_DEFAULT = 16777216U };
  
    enum { BUTTON_POS_2_DEFAULT = 33554432U };
  
    enum { BUTTON_DELAY_ENABLE = 67108864U };
  
    enum { STD_OK_CANCEL_BUTTONS = 513U };
  
    enum { STD_YES_NO_BUTTONS = 1027U };
  
    /* PRInt32 confirmEx (in wstring dialogTitle, in wstring text, in unsigned long buttonFlags, in wstring button0Title, in wstring button1Title, in wstring button2Title, in wstring checkMsg, inout boolean checkValue); */
    NS_SCRIPTABLE NS_IMETHOD ConfirmEx(const PRUnichar *dialogTitle, const PRUnichar *text, PRUint32 buttonFlags, const PRUnichar *button0Title, const PRUnichar *button1Title, const PRUnichar *button2Title, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRInt32 *_retval NS_OUTPARAM) = 0;
  
    /* boolean prompt (in wstring dialogTitle, in wstring text, inout wstring value, in wstring checkMsg, inout boolean checkValue); */
    NS_SCRIPTABLE NS_IMETHOD Prompt(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **value NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) = 0;
  
    /* boolean promptPassword (in wstring dialogTitle, in wstring text, inout wstring password, in wstring checkMsg, inout boolean checkValue); */
    NS_SCRIPTABLE NS_IMETHOD PromptPassword(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **password NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) = 0;
  
    /* boolean promptUsernameAndPassword (in wstring dialogTitle, in wstring text, inout wstring username, inout wstring password, in wstring checkMsg, inout boolean checkValue); */
    NS_SCRIPTABLE NS_IMETHOD PromptUsernameAndPassword(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **username NS_INOUTPARAM, PRUnichar **password NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) = 0;
  
    /* boolean select (in wstring dialogTitle, in wstring text, in PRUint32 count, [array, size_is (count)] in wstring selectList, out long outSelection); */
    NS_SCRIPTABLE NS_IMETHOD Select(const PRUnichar *dialogTitle, const PRUnichar *text, PRUint32 count, const PRUnichar **selectList, PRInt32 *outSelection NS_OUTPARAM, PRBool *_retval NS_OUTPARAM) = 0;
  
  };
  
    NS_DEFINE_STATIC_IID_ACCESSOR(nsIPrompt, NS_IPROMPT_IID)
  
  /* Use this macro when declaring classes that implement this interface. */
  #define NS_DECL_NSIPROMPT \
    NS_SCRIPTABLE NS_IMETHOD Alert(const PRUnichar *dialogTitle, const PRUnichar *text); \
    NS_SCRIPTABLE NS_IMETHOD AlertCheck(const PRUnichar *dialogTitle, const PRUnichar *text, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM); \
    NS_SCRIPTABLE NS_IMETHOD Confirm(const PRUnichar *dialogTitle, const PRUnichar *text, PRBool *_retval NS_OUTPARAM); \
    NS_SCRIPTABLE NS_IMETHOD ConfirmCheck(const PRUnichar *dialogTitle, const PRUnichar *text, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM); \
    NS_SCRIPTABLE NS_IMETHOD ConfirmEx(const PRUnichar *dialogTitle, const PRUnichar *text, PRUint32 buttonFlags, const PRUnichar *button0Title, const PRUnichar *button1Title, const PRUnichar *button2Title, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRInt32 *_retval NS_OUTPARAM); \
    NS_SCRIPTABLE NS_IMETHOD Prompt(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **value NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM); \
    NS_SCRIPTABLE NS_IMETHOD PromptPassword(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **password NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM); \
    NS_SCRIPTABLE NS_IMETHOD PromptUsernameAndPassword(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **username NS_INOUTPARAM, PRUnichar **password NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM); \
    NS_SCRIPTABLE NS_IMETHOD Select(const PRUnichar *dialogTitle, const PRUnichar *text, PRUint32 count, const PRUnichar **selectList, PRInt32 *outSelection NS_OUTPARAM, PRBool *_retval NS_OUTPARAM); 
  
  /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  #define NS_FORWARD_NSIPROMPT(_to) \
    NS_SCRIPTABLE NS_IMETHOD Alert(const PRUnichar *dialogTitle, const PRUnichar *text) { return _to Alert(dialogTitle, text); } \
    NS_SCRIPTABLE NS_IMETHOD AlertCheck(const PRUnichar *dialogTitle, const PRUnichar *text, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM) { return _to AlertCheck(dialogTitle, text, checkMsg, checkValue); } \
    NS_SCRIPTABLE NS_IMETHOD Confirm(const PRUnichar *dialogTitle, const PRUnichar *text, PRBool *_retval NS_OUTPARAM) { return _to Confirm(dialogTitle, text, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD ConfirmCheck(const PRUnichar *dialogTitle, const PRUnichar *text, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) { return _to ConfirmCheck(dialogTitle, text, checkMsg, checkValue, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD ConfirmEx(const PRUnichar *dialogTitle, const PRUnichar *text, PRUint32 buttonFlags, const PRUnichar *button0Title, const PRUnichar *button1Title, const PRUnichar *button2Title, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRInt32 *_retval NS_OUTPARAM) { return _to ConfirmEx(dialogTitle, text, buttonFlags, button0Title, button1Title, button2Title, checkMsg, checkValue, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD Prompt(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **value NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) { return _to Prompt(dialogTitle, text, value, checkMsg, checkValue, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD PromptPassword(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **password NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) { return _to PromptPassword(dialogTitle, text, password, checkMsg, checkValue, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD PromptUsernameAndPassword(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **username NS_INOUTPARAM, PRUnichar **password NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) { return _to PromptUsernameAndPassword(dialogTitle, text, username, password, checkMsg, checkValue, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD Select(const PRUnichar *dialogTitle, const PRUnichar *text, PRUint32 count, const PRUnichar **selectList, PRInt32 *outSelection NS_OUTPARAM, PRBool *_retval NS_OUTPARAM) { return _to Select(dialogTitle, text, count, selectList, outSelection, _retval); } 
  
  /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  #define NS_FORWARD_SAFE_NSIPROMPT(_to) \
    NS_SCRIPTABLE NS_IMETHOD Alert(const PRUnichar *dialogTitle, const PRUnichar *text) { return !_to ? NS_ERROR_NULL_POINTER : _to->Alert(dialogTitle, text); } \
    NS_SCRIPTABLE NS_IMETHOD AlertCheck(const PRUnichar *dialogTitle, const PRUnichar *text, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->AlertCheck(dialogTitle, text, checkMsg, checkValue); } \
    NS_SCRIPTABLE NS_IMETHOD Confirm(const PRUnichar *dialogTitle, const PRUnichar *text, PRBool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Confirm(dialogTitle, text, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD ConfirmCheck(const PRUnichar *dialogTitle, const PRUnichar *text, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ConfirmCheck(dialogTitle, text, checkMsg, checkValue, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD ConfirmEx(const PRUnichar *dialogTitle, const PRUnichar *text, PRUint32 buttonFlags, const PRUnichar *button0Title, const PRUnichar *button1Title, const PRUnichar *button2Title, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ConfirmEx(dialogTitle, text, buttonFlags, button0Title, button1Title, button2Title, checkMsg, checkValue, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD Prompt(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **value NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Prompt(dialogTitle, text, value, checkMsg, checkValue, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD PromptPassword(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **password NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->PromptPassword(dialogTitle, text, password, checkMsg, checkValue, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD PromptUsernameAndPassword(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **username NS_INOUTPARAM, PRUnichar **password NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->PromptUsernameAndPassword(dialogTitle, text, username, password, checkMsg, checkValue, _retval); } \
    NS_SCRIPTABLE NS_IMETHOD Select(const PRUnichar *dialogTitle, const PRUnichar *text, PRUint32 count, const PRUnichar **selectList, PRInt32 *outSelection NS_OUTPARAM, PRBool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Select(dialogTitle, text, count, selectList, outSelection, _retval); } 
  
  #if 0
  /* Use the code below as a template for the implementation class for this interface. */
  
  /* Header file */
  class nsPrompt : public nsIPrompt
  {
  public:
    NS_DECL_ISUPPORTS
    NS_DECL_NSIPROMPT
  
    nsPrompt();
  
  private:
    ~nsPrompt();
  
  protected:
    /* additional members */
  };
  
  /* Implementation file */
  NS_IMPL_ISUPPORTS1(nsPrompt, nsIPrompt)
  
  nsPrompt::nsPrompt()
  {
    /* member initializers and constructor code */
  }
  
  nsPrompt::~nsPrompt()
  {
    /* destructor code */
  }
  
  /* void alert (in wstring dialogTitle, in wstring text); */
  NS_IMETHODIMP nsPrompt::Alert(const PRUnichar *dialogTitle, const PRUnichar *text)
  {
      return NS_ERROR_NOT_IMPLEMENTED;
  }
  
  /* void alertCheck (in wstring dialogTitle, in wstring text, in wstring checkMsg, inout boolean checkValue); */
  NS_IMETHODIMP nsPrompt::AlertCheck(const PRUnichar *dialogTitle, const PRUnichar *text, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM)
  {
      return NS_ERROR_NOT_IMPLEMENTED;
  }
  
  /* boolean confirm (in wstring dialogTitle, in wstring text); */
  NS_IMETHODIMP nsPrompt::Confirm(const PRUnichar *dialogTitle, const PRUnichar *text, PRBool *_retval NS_OUTPARAM)
  {
      return NS_ERROR_NOT_IMPLEMENTED;
  }
  
  /* boolean confirmCheck (in wstring dialogTitle, in wstring text, in wstring checkMsg, inout boolean checkValue); */
  NS_IMETHODIMP nsPrompt::ConfirmCheck(const PRUnichar *dialogTitle, const PRUnichar *text, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM)
  {
      return NS_ERROR_NOT_IMPLEMENTED;
  }
  
  /* PRInt32 confirmEx (in wstring dialogTitle, in wstring text, in unsigned long buttonFlags, in wstring button0Title, in wstring button1Title, in wstring button2Title, in wstring checkMsg, inout boolean checkValue); */
  NS_IMETHODIMP nsPrompt::ConfirmEx(const PRUnichar *dialogTitle, const PRUnichar *text, PRUint32 buttonFlags, const PRUnichar *button0Title, const PRUnichar *button1Title, const PRUnichar *button2Title, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRInt32 *_retval NS_OUTPARAM)
  {
      return NS_ERROR_NOT_IMPLEMENTED;
  }
  
  /* boolean prompt (in wstring dialogTitle, in wstring text, inout wstring value, in wstring checkMsg, inout boolean checkValue); */
  NS_IMETHODIMP nsPrompt::Prompt(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **value NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM)
  {
      return NS_ERROR_NOT_IMPLEMENTED;
  }
  
  /* boolean promptPassword (in wstring dialogTitle, in wstring text, inout wstring password, in wstring checkMsg, inout boolean checkValue); */
  NS_IMETHODIMP nsPrompt::PromptPassword(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **password NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM)
  {
      return NS_ERROR_NOT_IMPLEMENTED;
  }
  
  /* boolean promptUsernameAndPassword (in wstring dialogTitle, in wstring text, inout wstring username, inout wstring password, in wstring checkMsg, inout boolean checkValue); */
  NS_IMETHODIMP nsPrompt::PromptUsernameAndPassword(const PRUnichar *dialogTitle, const PRUnichar *text, PRUnichar **username NS_INOUTPARAM, PRUnichar **password NS_INOUTPARAM, const PRUnichar *checkMsg, PRBool *checkValue NS_INOUTPARAM, PRBool *_retval NS_OUTPARAM)
  {
      return NS_ERROR_NOT_IMPLEMENTED;
  }
  
  /* boolean select (in wstring dialogTitle, in wstring text, in PRUint32 count, [array, size_is (count)] in wstring selectList, out long outSelection); */
  NS_IMETHODIMP nsPrompt::Select(const PRUnichar *dialogTitle, const PRUnichar *text, PRUint32 count, const PRUnichar **selectList, PRInt32 *outSelection NS_OUTPARAM, PRBool *_retval NS_OUTPARAM)
  {
      return NS_ERROR_NOT_IMPLEMENTED;
  }
  
  /* End of implementation class template. */
  #endif
  
  
  #endif /* __gen_nsIPrompt_h__ */
  