/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIXPIProgressDlg.idl
 */

#ifndef __gen_nsIXPIProgressDlg_h__
#define __gen_nsIXPIProgressDlg_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#ifndef __gen_nsIDialogParamBlock_h__
#include "nsIDialogParamBlock.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:    nsIXPIProgressDlg */
#define NS_IXPIPROGRESSDLG_IID_STR "597140a0-1c1d-11d3-8e10-914233f46847"

#define NS_IXPIPROGRESSDLG_IID \
  {0x597140a0, 0x1c1d, 0x11d3, \
    { 0x8e, 0x10, 0x91, 0x42, 0x33, 0xf4, 0x68, 0x47 }}

class NS_NO_VTABLE nsIXPIProgressDlg : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXPIPROGRESSDLG_IID)

  /* void Open (in nsIDialogParamBlock ioParamBlock); */
  NS_IMETHOD Open(nsIDialogParamBlock *ioParamBlock) = 0;

  /* void Close (); */
  NS_IMETHOD Close(void) = 0;

  /* void SetTitle (in wstring aTitle); */
  NS_IMETHOD SetTitle(const PRUnichar *aTitle) = 0;

  /* void SetHeading (in wstring aHeading); */
  NS_IMETHOD SetHeading(const PRUnichar *aHeading) = 0;

  /* void SetActionText (in wstring aText); */
  NS_IMETHOD SetActionText(const PRUnichar *aText) = 0;

  /* void SetProgress (in long aValue, in long aMax, in char mode); */
  NS_IMETHOD SetProgress(PRInt32 aValue, PRInt32 aMax, char mode) = 0;

  /* void StartInstallPhase (); */
  NS_IMETHOD StartInstallPhase(void) = 0;

  /* boolean GetCancelStatus (); */
  NS_IMETHOD GetCancelStatus(PRBool *_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIXPIPROGRESSDLG \
  NS_IMETHOD Open(nsIDialogParamBlock *ioParamBlock); \
  NS_IMETHOD Close(void); \
  NS_IMETHOD SetTitle(const PRUnichar *aTitle); \
  NS_IMETHOD SetHeading(const PRUnichar *aHeading); \
  NS_IMETHOD SetActionText(const PRUnichar *aText); \
  NS_IMETHOD SetProgress(PRInt32 aValue, PRInt32 aMax, char mode); \
  NS_IMETHOD StartInstallPhase(void); \
  NS_IMETHOD GetCancelStatus(PRBool *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIXPIPROGRESSDLG(_to) \
  NS_IMETHOD Open(nsIDialogParamBlock *ioParamBlock) { return _to Open(ioParamBlock); } \
  NS_IMETHOD Close(void) { return _to Close(); } \
  NS_IMETHOD SetTitle(const PRUnichar *aTitle) { return _to SetTitle(aTitle); } \
  NS_IMETHOD SetHeading(const PRUnichar *aHeading) { return _to SetHeading(aHeading); } \
  NS_IMETHOD SetActionText(const PRUnichar *aText) { return _to SetActionText(aText); } \
  NS_IMETHOD SetProgress(PRInt32 aValue, PRInt32 aMax, char mode) { return _to SetProgress(aValue, aMax, mode); } \
  NS_IMETHOD StartInstallPhase(void) { return _to StartInstallPhase(); } \
  NS_IMETHOD GetCancelStatus(PRBool *_retval) { return _to GetCancelStatus(_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_NSIXPIPROGRESSDLG(_to) \
  NS_IMETHOD Open(nsIDialogParamBlock *ioParamBlock) { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(ioParamBlock); } \
  NS_IMETHOD Close(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Close(); } \
  NS_IMETHOD SetTitle(const PRUnichar *aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
  NS_IMETHOD SetHeading(const PRUnichar *aHeading) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeading(aHeading); } \
  NS_IMETHOD SetActionText(const PRUnichar *aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetActionText(aText); } \
  NS_IMETHOD SetProgress(PRInt32 aValue, PRInt32 aMax, char mode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProgress(aValue, aMax, mode); } \
  NS_IMETHOD StartInstallPhase(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->StartInstallPhase(); } \
  NS_IMETHOD GetCancelStatus(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCancelStatus(_retval); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsXPIProgressDlg : public nsIXPIProgressDlg
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIXPIPROGRESSDLG

  nsXPIProgressDlg();
  virtual ~nsXPIProgressDlg();
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsXPIProgressDlg, nsIXPIProgressDlg)

nsXPIProgressDlg::nsXPIProgressDlg()
{
  NS_INIT_ISUPPORTS();
  /* member initializers and constructor code */
}

nsXPIProgressDlg::~nsXPIProgressDlg()
{
  /* destructor code */
}

/* void Open (in nsIDialogParamBlock ioParamBlock); */
NS_IMETHODIMP nsXPIProgressDlg::Open(nsIDialogParamBlock *ioParamBlock)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void Close (); */
NS_IMETHODIMP nsXPIProgressDlg::Close()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SetTitle (in wstring aTitle); */
NS_IMETHODIMP nsXPIProgressDlg::SetTitle(const PRUnichar *aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SetHeading (in wstring aHeading); */
NS_IMETHODIMP nsXPIProgressDlg::SetHeading(const PRUnichar *aHeading)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SetActionText (in wstring aText); */
NS_IMETHODIMP nsXPIProgressDlg::SetActionText(const PRUnichar *aText)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SetProgress (in long aValue, in long aMax, in char mode); */
NS_IMETHODIMP nsXPIProgressDlg::SetProgress(PRInt32 aValue, PRInt32 aMax, char mode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void StartInstallPhase (); */
NS_IMETHODIMP nsXPIProgressDlg::StartInstallPhase()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean GetCancelStatus (); */
NS_IMETHODIMP nsXPIProgressDlg::GetCancelStatus(PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIXPIProgressDlg_h__ */
