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

#ifndef __gen_nsIMsgWindow_h__
#define __gen_nsIMsgWindow_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
class nsIMsgStatusFeedback; /* forward declaration */

class nsIMsgFolder; /* forward declaration */

class nsITransactionManager; /* forward declaration */

class nsIDocShell; /* forward declaration */

class mozIDOMWindowProxy; /* forward declaration */

class nsIMsgHeaderSink; /* forward declaration */

class nsIPrompt; /* forward declaration */

class nsIInterfaceRequestor; /* forward declaration */

class nsIAuthPrompt; /* forward declaration */


/* starting interface:    nsIMsgWindowCommands */
#define NS_IMSGWINDOWCOMMANDS_IID_STR "7b8f4a65-cfc4-4b3f-bf5c-152aa8d5cd10"

#define NS_IMSGWINDOWCOMMANDS_IID \
  {0x7b8f4a65, 0xcfc4, 0x4b3f, \
    { 0xbf, 0x5c, 0x15, 0x2a, 0xa8, 0xd5, 0xcd, 0x10 }}

class NS_NO_VTABLE nsIMsgWindowCommands : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGWINDOWCOMMANDS_IID)

  /* void selectFolder (in ACString folderUri); */
  NS_IMETHOD SelectFolder(const nsACString & folderUri) = 0;

  /* void selectMessage (in ACString messageUri); */
  NS_IMETHOD SelectMessage(const nsACString & messageUri) = 0;

  /* void clearMsgPane (); */
  NS_IMETHOD ClearMsgPane(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgWindowCommands, NS_IMSGWINDOWCOMMANDS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGWINDOWCOMMANDS \
  NS_IMETHOD SelectFolder(const nsACString & folderUri) override; \
  NS_IMETHOD SelectMessage(const nsACString & messageUri) override; \
  NS_IMETHOD ClearMsgPane(void) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGWINDOWCOMMANDS \
  NS_METHOD SelectFolder(const nsACString & folderUri); \
  NS_METHOD SelectMessage(const nsACString & messageUri); \
  NS_METHOD ClearMsgPane(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGWINDOWCOMMANDS(_to) \
  NS_IMETHOD SelectFolder(const nsACString & folderUri) override { return _to SelectFolder(folderUri); } \
  NS_IMETHOD SelectMessage(const nsACString & messageUri) override { return _to SelectMessage(messageUri); } \
  NS_IMETHOD ClearMsgPane(void) override { return _to ClearMsgPane(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGWINDOWCOMMANDS(_to) \
  NS_IMETHOD SelectFolder(const nsACString & folderUri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectFolder(folderUri); } \
  NS_IMETHOD SelectMessage(const nsACString & messageUri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectMessage(messageUri); } \
  NS_IMETHOD ClearMsgPane(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearMsgPane(); } 

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

/* Header file */
class nsMsgWindowCommands : public nsIMsgWindowCommands
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGWINDOWCOMMANDS

  nsMsgWindowCommands();

private:
  ~nsMsgWindowCommands();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgWindowCommands, nsIMsgWindowCommands)

nsMsgWindowCommands::nsMsgWindowCommands()
{
  /* member initializers and constructor code */
}

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

/* void selectFolder (in ACString folderUri); */
NS_IMETHODIMP nsMsgWindowCommands::SelectFolder(const nsACString & folderUri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void selectMessage (in ACString messageUri); */
NS_IMETHODIMP nsMsgWindowCommands::SelectMessage(const nsACString & messageUri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void clearMsgPane (); */
NS_IMETHODIMP nsMsgWindowCommands::ClearMsgPane()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIMsgWindow */
#define NS_IMSGWINDOW_IID_STR "a846fe48-4022-4296-a1c4-1dcd7eaecfe5"

#define NS_IMSGWINDOW_IID \
  {0xa846fe48, 0x4022, 0x4296, \
    { 0xa1, 0xc4, 0x1d, 0xcd, 0x7e, 0xae, 0xcf, 0xe5 }}

class NS_NO_VTABLE nsIMsgWindow : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGWINDOW_IID)

  /* attribute nsIMsgStatusFeedback statusFeedback; */
  NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) = 0;
  NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) = 0;

  /* attribute nsIMsgWindowCommands windowCommands; */
  NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands) = 0;
  NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) = 0;

  /* attribute nsIMsgHeaderSink msgHeaderSink; */
  NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) = 0;
  NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) = 0;

  /* attribute nsITransactionManager transactionManager; */
  NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) = 0;
  NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) = 0;

  /* attribute nsIMsgFolder openFolder; */
  NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) = 0;
  NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) = 0;

  /* attribute nsIDocShell rootDocShell; */
  NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) = 0;
  NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) = 0;

  /* readonly attribute nsIDocShell messageWindowDocShell; */
  NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell) = 0;

  /* readonly attribute nsIAuthPrompt authPrompt; */
  NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) = 0;

  /* attribute nsIInterfaceRequestor notificationCallbacks; */
  NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) = 0;
  NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) = 0;

  /* void displayHTMLInMessagePane (in AString title, in AString body, in boolean clearMsgHdr); */
  NS_IMETHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr) = 0;

  /* readonly attribute nsIPrompt promptDialog; */
  NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) = 0;

  /* attribute ACString mailCharacterSet; */
  NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet) = 0;
  NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet) = 0;

  /* attribute boolean charsetOverride; */
  NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) = 0;
  NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) = 0;

  /* attribute boolean stopped; */
  NS_IMETHOD GetStopped(bool *aStopped) = 0;
  NS_IMETHOD SetStopped(bool aStopped) = 0;

  /* attribute mozIDOMWindowProxy domWindow; */
  NS_IMETHOD GetDomWindow(mozIDOMWindowProxy * *aDomWindow) = 0;
  NS_IMETHOD SetDomWindow(mozIDOMWindowProxy *aDomWindow) = 0;

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

  /* void closeWindow (); */
  NS_IMETHOD CloseWindow(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgWindow, NS_IMSGWINDOW_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGWINDOW \
  NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) override; \
  NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) override; \
  NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands) override; \
  NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) override; \
  NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) override; \
  NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) override; \
  NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) override; \
  NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) override; \
  NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) override; \
  NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) override; \
  NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) override; \
  NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) override; \
  NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell) override; \
  NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) override; \
  NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) override; \
  NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override; \
  NS_IMETHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr) override; \
  NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) override; \
  NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet) override; \
  NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet) override; \
  NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) override; \
  NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) override; \
  NS_IMETHOD GetStopped(bool *aStopped) override; \
  NS_IMETHOD SetStopped(bool aStopped) override; \
  NS_IMETHOD GetDomWindow(mozIDOMWindowProxy * *aDomWindow) override; \
  NS_IMETHOD SetDomWindow(mozIDOMWindowProxy *aDomWindow) override; \
  NS_IMETHOD StopUrls(void) override; \
  NS_IMETHOD CloseWindow(void) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGWINDOW \
  NS_METHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback); \
  NS_METHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback); \
  NS_METHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands); \
  NS_METHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands); \
  NS_METHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink); \
  NS_METHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink); \
  NS_METHOD GetTransactionManager(nsITransactionManager * *aTransactionManager); \
  NS_METHOD SetTransactionManager(nsITransactionManager *aTransactionManager); \
  NS_METHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder); \
  NS_METHOD SetOpenFolder(nsIMsgFolder *aOpenFolder); \
  NS_METHOD GetRootDocShell(nsIDocShell * *aRootDocShell); \
  NS_METHOD SetRootDocShell(nsIDocShell *aRootDocShell); \
  NS_METHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell); \
  NS_METHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt); \
  NS_METHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks); \
  NS_METHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks); \
  NS_METHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr); \
  NS_METHOD GetPromptDialog(nsIPrompt * *aPromptDialog); \
  NS_METHOD GetMailCharacterSet(nsACString & aMailCharacterSet); \
  NS_METHOD SetMailCharacterSet(const nsACString & aMailCharacterSet); \
  NS_METHOD GetCharsetOverride(bool *aCharsetOverride); \
  NS_METHOD SetCharsetOverride(bool aCharsetOverride); \
  NS_METHOD GetStopped(bool *aStopped); \
  NS_METHOD SetStopped(bool aStopped); \
  NS_METHOD GetDomWindow(mozIDOMWindowProxy * *aDomWindow); \
  NS_METHOD SetDomWindow(mozIDOMWindowProxy *aDomWindow); \
  NS_METHOD StopUrls(void); \
  NS_METHOD CloseWindow(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGWINDOW(_to) \
  NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) override { return _to GetStatusFeedback(aStatusFeedback); } \
  NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) override { return _to SetStatusFeedback(aStatusFeedback); } \
  NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands) override { return _to GetWindowCommands(aWindowCommands); } \
  NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) override { return _to SetWindowCommands(aWindowCommands); } \
  NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) override { return _to GetMsgHeaderSink(aMsgHeaderSink); } \
  NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) override { return _to SetMsgHeaderSink(aMsgHeaderSink); } \
  NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) override { return _to GetTransactionManager(aTransactionManager); } \
  NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) override { return _to SetTransactionManager(aTransactionManager); } \
  NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) override { return _to GetOpenFolder(aOpenFolder); } \
  NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) override { return _to SetOpenFolder(aOpenFolder); } \
  NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) override { return _to GetRootDocShell(aRootDocShell); } \
  NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) override { return _to SetRootDocShell(aRootDocShell); } \
  NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell) override { return _to GetMessageWindowDocShell(aMessageWindowDocShell); } \
  NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) override { return _to GetAuthPrompt(aAuthPrompt); } \
  NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) override { return _to GetNotificationCallbacks(aNotificationCallbacks); } \
  NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override { return _to SetNotificationCallbacks(aNotificationCallbacks); } \
  NS_IMETHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr) override { return _to DisplayHTMLInMessagePane(title, body, clearMsgHdr); } \
  NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) override { return _to GetPromptDialog(aPromptDialog); } \
  NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet) override { return _to GetMailCharacterSet(aMailCharacterSet); } \
  NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet) override { return _to SetMailCharacterSet(aMailCharacterSet); } \
  NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) override { return _to GetCharsetOverride(aCharsetOverride); } \
  NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) override { return _to SetCharsetOverride(aCharsetOverride); } \
  NS_IMETHOD GetStopped(bool *aStopped) override { return _to GetStopped(aStopped); } \
  NS_IMETHOD SetStopped(bool aStopped) override { return _to SetStopped(aStopped); } \
  NS_IMETHOD GetDomWindow(mozIDOMWindowProxy * *aDomWindow) override { return _to GetDomWindow(aDomWindow); } \
  NS_IMETHOD SetDomWindow(mozIDOMWindowProxy *aDomWindow) override { return _to SetDomWindow(aDomWindow); } \
  NS_IMETHOD StopUrls(void) override { return _to StopUrls(); } \
  NS_IMETHOD CloseWindow(void) override { return _to CloseWindow(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGWINDOW(_to) \
  NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatusFeedback(aStatusFeedback); } \
  NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStatusFeedback(aStatusFeedback); } \
  NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWindowCommands(aWindowCommands); } \
  NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWindowCommands(aWindowCommands); } \
  NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsgHeaderSink(aMsgHeaderSink); } \
  NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMsgHeaderSink(aMsgHeaderSink); } \
  NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTransactionManager(aTransactionManager); } \
  NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTransactionManager(aTransactionManager); } \
  NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOpenFolder(aOpenFolder); } \
  NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOpenFolder(aOpenFolder); } \
  NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRootDocShell(aRootDocShell); } \
  NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRootDocShell(aRootDocShell); } \
  NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageWindowDocShell(aMessageWindowDocShell); } \
  NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthPrompt(aAuthPrompt); } \
  NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotificationCallbacks(aNotificationCallbacks); } \
  NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNotificationCallbacks(aNotificationCallbacks); } \
  NS_IMETHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplayHTMLInMessagePane(title, body, clearMsgHdr); } \
  NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPromptDialog(aPromptDialog); } \
  NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMailCharacterSet(aMailCharacterSet); } \
  NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMailCharacterSet(aMailCharacterSet); } \
  NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharsetOverride(aCharsetOverride); } \
  NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharsetOverride(aCharsetOverride); } \
  NS_IMETHOD GetStopped(bool *aStopped) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStopped(aStopped); } \
  NS_IMETHOD SetStopped(bool aStopped) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStopped(aStopped); } \
  NS_IMETHOD GetDomWindow(mozIDOMWindowProxy * *aDomWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomWindow(aDomWindow); } \
  NS_IMETHOD SetDomWindow(mozIDOMWindowProxy *aDomWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDomWindow(aDomWindow); } \
  NS_IMETHOD StopUrls(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StopUrls(); } \
  NS_IMETHOD CloseWindow(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CloseWindow(); } 

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

/* Header file */
class nsMsgWindow : public nsIMsgWindow
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGWINDOW

  nsMsgWindow();

private:
  ~nsMsgWindow();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgWindow, nsIMsgWindow)

nsMsgWindow::nsMsgWindow()
{
  /* member initializers and constructor code */
}

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

/* attribute nsIMsgStatusFeedback statusFeedback; */
NS_IMETHODIMP nsMsgWindow::GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIMsgWindowCommands windowCommands; */
NS_IMETHODIMP nsMsgWindow::GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetWindowCommands(nsIMsgWindowCommands *aWindowCommands)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIMsgHeaderSink msgHeaderSink; */
NS_IMETHODIMP nsMsgWindow::GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsITransactionManager transactionManager; */
NS_IMETHODIMP nsMsgWindow::GetTransactionManager(nsITransactionManager * *aTransactionManager)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetTransactionManager(nsITransactionManager *aTransactionManager)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIMsgFolder openFolder; */
NS_IMETHODIMP nsMsgWindow::GetOpenFolder(nsIMsgFolder * *aOpenFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetOpenFolder(nsIMsgFolder *aOpenFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIDocShell rootDocShell; */
NS_IMETHODIMP nsMsgWindow::GetRootDocShell(nsIDocShell * *aRootDocShell)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetRootDocShell(nsIDocShell *aRootDocShell)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIDocShell messageWindowDocShell; */
NS_IMETHODIMP nsMsgWindow::GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIAuthPrompt authPrompt; */
NS_IMETHODIMP nsMsgWindow::GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIInterfaceRequestor notificationCallbacks; */
NS_IMETHODIMP nsMsgWindow::GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void displayHTMLInMessagePane (in AString title, in AString body, in boolean clearMsgHdr); */
NS_IMETHODIMP nsMsgWindow::DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIPrompt promptDialog; */
NS_IMETHODIMP nsMsgWindow::GetPromptDialog(nsIPrompt * *aPromptDialog)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString mailCharacterSet; */
NS_IMETHODIMP nsMsgWindow::GetMailCharacterSet(nsACString & aMailCharacterSet)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetMailCharacterSet(const nsACString & aMailCharacterSet)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean charsetOverride; */
NS_IMETHODIMP nsMsgWindow::GetCharsetOverride(bool *aCharsetOverride)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetCharsetOverride(bool aCharsetOverride)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean stopped; */
NS_IMETHODIMP nsMsgWindow::GetStopped(bool *aStopped)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetStopped(bool aStopped)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute mozIDOMWindowProxy domWindow; */
NS_IMETHODIMP nsMsgWindow::GetDomWindow(mozIDOMWindowProxy * *aDomWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetDomWindow(mozIDOMWindowProxy *aDomWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void StopUrls (); */
NS_IMETHODIMP nsMsgWindow::StopUrls()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void closeWindow (); */
NS_IMETHODIMP nsMsgWindow::CloseWindow()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIMsgWindowTest */
#define NS_IMSGWINDOWTEST_IID_STR "ffbc8b13-243f-4cd9-92d0-01636cda425e"

#define NS_IMSGWINDOWTEST_IID \
  {0xffbc8b13, 0x243f, 0x4cd9, \
    { 0x92, 0xd0, 0x01, 0x63, 0x6c, 0xda, 0x42, 0x5e }}

class NS_NO_VTABLE nsIMsgWindowTest : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGWINDOWTEST_IID)

  /* void setPromptDialog (in nsIPrompt promptDialog); */
  NS_IMETHOD SetPromptDialog(nsIPrompt *promptDialog) = 0;

  /* void setAuthPrompt (in nsIAuthPrompt authPrompt); */
  NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *authPrompt) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgWindowTest, NS_IMSGWINDOWTEST_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGWINDOWTEST \
  NS_IMETHOD SetPromptDialog(nsIPrompt *promptDialog) override; \
  NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *authPrompt) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGWINDOWTEST \
  NS_METHOD SetPromptDialog(nsIPrompt *promptDialog); \
  NS_METHOD SetAuthPrompt(nsIAuthPrompt *authPrompt); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGWINDOWTEST(_to) \
  NS_IMETHOD SetPromptDialog(nsIPrompt *promptDialog) override { return _to SetPromptDialog(promptDialog); } \
  NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *authPrompt) override { return _to SetAuthPrompt(authPrompt); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGWINDOWTEST(_to) \
  NS_IMETHOD SetPromptDialog(nsIPrompt *promptDialog) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPromptDialog(promptDialog); } \
  NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *authPrompt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAuthPrompt(authPrompt); } 

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

/* Header file */
class nsMsgWindowTest : public nsIMsgWindowTest
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGWINDOWTEST

  nsMsgWindowTest();

private:
  ~nsMsgWindowTest();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgWindowTest, nsIMsgWindowTest)

nsMsgWindowTest::nsMsgWindowTest()
{
  /* member initializers and constructor code */
}

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

/* void setPromptDialog (in nsIPrompt promptDialog); */
NS_IMETHODIMP nsMsgWindowTest::SetPromptDialog(nsIPrompt *promptDialog)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setAuthPrompt (in nsIAuthPrompt authPrompt); */
NS_IMETHODIMP nsMsgWindowTest::SetAuthPrompt(nsIAuthPrompt *authPrompt)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMsgWindow_h__ */
