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

#ifndef __gen_nsIMsgWindow_h__
#define __gen_nsIMsgWindow_h__

#include "nsISupports.h"
#include "nsIMsgStatusFeedback.h"
#include "nsIMsgFolder.h"
#include "nsIMessageView.h"

class nsITransactionManager; /* forward declaration */

class nsIDocShell; /* forward declaration */

class nsIDOMWindowInternal; /* forward declaration */

class nsIMsgHeaderSink; /* forward declaration */

class nsIPrompt; /* forward declaration */


/* starting interface:    nsIMsgWindow */
#define NS_IMSGWINDOW_IID_STR "bd85a416-5433-11d3-8ac5-0060b0fc04d2"

#define NS_IMSGWINDOW_IID \
  {0xbd85a416, 0x5433, 0x11d3, \
    { 0x8a, 0xc5, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xd2 }}

class NS_NO_VTABLE nsIMsgWindow : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IMSGWINDOW_IID)

  /* attribute nsIMsgStatusFeedback statusFeedback; */
  NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) = 0;
  NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback * aStatusFeedback) = 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 nsIMessageView messageView; */
  NS_IMETHOD GetMessageView(nsIMessageView * *aMessageView) = 0;
  NS_IMETHOD SetMessageView(nsIMessageView * aMessageView) = 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 nsIPrompt promptDialog; */
  NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) = 0;

  /* attribute wstring mailCharacterSet; */
  NS_IMETHOD GetMailCharacterSet(PRUnichar * *aMailCharacterSet) = 0;
  NS_IMETHOD SetMailCharacterSet(const PRUnichar * aMailCharacterSet) = 0;

  /* void SetDOMWindow (in nsIDOMWindowInternal window); */
  NS_IMETHOD SetDOMWindow(nsIDOMWindowInternal *window) = 0;

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

  /* void SelectFolder (in string folderUri); */
  NS_IMETHOD SelectFolder(const char *folderUri) = 0;

  /* void SelectMessage (in string messageUri); */
  NS_IMETHOD SelectMessage(const char *messageUri) = 0;

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

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGWINDOW \
  NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback); \
  NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback * aStatusFeedback); \
  NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink); \
  NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink * aMsgHeaderSink); \
  NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager); \
  NS_IMETHOD SetTransactionManager(nsITransactionManager * aTransactionManager); \
  NS_IMETHOD GetMessageView(nsIMessageView * *aMessageView); \
  NS_IMETHOD SetMessageView(nsIMessageView * aMessageView); \
  NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder); \
  NS_IMETHOD SetOpenFolder(nsIMsgFolder * aOpenFolder); \
  NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell); \
  NS_IMETHOD SetRootDocShell(nsIDocShell * aRootDocShell); \
  NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog); \
  NS_IMETHOD GetMailCharacterSet(PRUnichar * *aMailCharacterSet); \
  NS_IMETHOD SetMailCharacterSet(const PRUnichar * aMailCharacterSet); \
  NS_IMETHOD SetDOMWindow(nsIDOMWindowInternal *window); \
  NS_IMETHOD StopUrls(void); \
  NS_IMETHOD SelectFolder(const char *folderUri); \
  NS_IMETHOD SelectMessage(const char *messageUri); \
  NS_IMETHOD 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) { return _to ## GetStatusFeedback(aStatusFeedback); } \
  NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback * aStatusFeedback) { return _to ## SetStatusFeedback(aStatusFeedback); } \
  NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) { return _to ## GetMsgHeaderSink(aMsgHeaderSink); } \
  NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink * aMsgHeaderSink) { return _to ## SetMsgHeaderSink(aMsgHeaderSink); } \
  NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) { return _to ## GetTransactionManager(aTransactionManager); } \
  NS_IMETHOD SetTransactionManager(nsITransactionManager * aTransactionManager) { return _to ## SetTransactionManager(aTransactionManager); } \
  NS_IMETHOD GetMessageView(nsIMessageView * *aMessageView) { return _to ## GetMessageView(aMessageView); } \
  NS_IMETHOD SetMessageView(nsIMessageView * aMessageView) { return _to ## SetMessageView(aMessageView); } \
  NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) { return _to ## GetOpenFolder(aOpenFolder); } \
  NS_IMETHOD SetOpenFolder(nsIMsgFolder * aOpenFolder) { return _to ## SetOpenFolder(aOpenFolder); } \
  NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) { return _to ## GetRootDocShell(aRootDocShell); } \
  NS_IMETHOD SetRootDocShell(nsIDocShell * aRootDocShell) { return _to ## SetRootDocShell(aRootDocShell); } \
  NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) { return _to ## GetPromptDialog(aPromptDialog); } \
  NS_IMETHOD GetMailCharacterSet(PRUnichar * *aMailCharacterSet) { return _to ## GetMailCharacterSet(aMailCharacterSet); } \
  NS_IMETHOD SetMailCharacterSet(const PRUnichar * aMailCharacterSet) { return _to ## SetMailCharacterSet(aMailCharacterSet); } \
  NS_IMETHOD SetDOMWindow(nsIDOMWindowInternal *window) { return _to ## SetDOMWindow(window); } \
  NS_IMETHOD StopUrls(void) { return _to ## StopUrls(); } \
  NS_IMETHOD SelectFolder(const char *folderUri) { return _to ## SelectFolder(folderUri); } \
  NS_IMETHOD SelectMessage(const char *messageUri) { return _to ## SelectMessage(messageUri); } \
  NS_IMETHOD CloseWindow(void) { return _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();
  virtual ~nsMsgWindow();
  /* additional members */
};

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

nsMsgWindow::nsMsgWindow()
{
  NS_INIT_ISUPPORTS();
  /* 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 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 nsIMessageView messageView; */
NS_IMETHODIMP nsMsgWindow::GetMessageView(nsIMessageView * *aMessageView)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetMessageView(nsIMessageView * aMessageView)
{
    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 nsIPrompt promptDialog; */
NS_IMETHODIMP nsMsgWindow::GetPromptDialog(nsIPrompt * *aPromptDialog)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute wstring mailCharacterSet; */
NS_IMETHODIMP nsMsgWindow::GetMailCharacterSet(PRUnichar * *aMailCharacterSet)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetMailCharacterSet(const PRUnichar * aMailCharacterSet)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SetDOMWindow (in nsIDOMWindowInternal window); */
NS_IMETHODIMP nsMsgWindow::SetDOMWindow(nsIDOMWindowInternal *window)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* void SelectFolder (in string folderUri); */
NS_IMETHODIMP nsMsgWindow::SelectFolder(const char *folderUri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SelectMessage (in string messageUri); */
NS_IMETHODIMP nsMsgWindow::SelectMessage(const char *messageUri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

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


/* starting interface:    nsIMsgWindowCommands */
#define NS_IMSGWINDOWCOMMANDS_IID_STR "fad93c80-1ac6-11d4-a8f6-006097222b83"

#define NS_IMSGWINDOWCOMMANDS_IID \
  {0xfad93c80, 0x1ac6, 0x11d4, \
    { 0xa8, 0xf6, 0x00, 0x60, 0x97, 0x22, 0x2b, 0x83 }}

class NS_NO_VTABLE nsIMsgWindowCommands : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IMSGWINDOWCOMMANDS_IID)

  /* void SelectFolder (in string folderUri); */
  NS_IMETHOD SelectFolder(const char *folderUri) = 0;

  /* void SelectMessage (in string messageUri); */
  NS_IMETHOD SelectMessage(const char *messageUri) = 0;

};

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

/* 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 char *folderUri) { return _to ## SelectFolder(folderUri); } \
  NS_IMETHOD SelectMessage(const char *messageUri) { return _to ## SelectMessage(messageUri); } 

#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();
  virtual ~nsMsgWindowCommands();
  /* additional members */
};

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

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

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

/* void SelectFolder (in string folderUri); */
NS_IMETHODIMP nsMsgWindowCommands::SelectFolder(const char *folderUri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SelectMessage (in string messageUri); */
NS_IMETHODIMP nsMsgWindowCommands::SelectMessage(const char *messageUri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMsgWindow_h__ */
