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

#ifndef __gen_nsIMessenger_h__
#define __gen_nsIMessenger_h__


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

#ifndef __gen_nsrootidl_h__
#include "nsrootidl.h"
#endif

#ifndef __gen_nsIRDFCompositeDataSource_h__
#include "nsIRDFCompositeDataSource.h"
#endif

#ifndef __gen_nsIMsgWindow_h__
#include "nsIMsgWindow.h"
#endif

#ifndef __gen_nsIMsgIdentity_h__
#include "nsIMsgIdentity.h"
#endif

#ifndef __gen_nsIMsgThread_h__
#include "nsIMsgThread.h"
#endif

#ifndef __gen_nsIMsgFolder_h__
#include "nsIMsgFolder.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMWindowInternal; /* forward declaration */

class nsITransactionManager; /* forward declaration */

class nsIMsgMessageService; /* forward declaration */


/* starting interface:    nsIMessenger */
#define NS_IMESSENGER_IID_STR "4f7966d0-c14f-11d2-b7f2-00805f05ffa5"

#define NS_IMESSENGER_IID \
  {0x4f7966d0, 0xc14f, 0x11d2, \
    { 0xb7, 0xf2, 0x00, 0x80, 0x5f, 0x05, 0xff, 0xa5 }}

class NS_NO_VTABLE nsIMessenger : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IMESSENGER_IID)

  enum { eUnknown = 0 };

  enum { eDeleteMsg = 1 };

  enum { eMoveMsg = 2 };

  enum { eCopyMsg = 3 };

  /* void setDisplayCharset (in wstring aCharset); */
  NS_IMETHOD SetDisplayCharset(const PRUnichar *aCharset) = 0;

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

  /* void SetWindow (in nsIDOMWindowInternal ptr, in nsIMsgWindow msgWindow); */
  NS_IMETHOD SetWindow(nsIDOMWindowInternal *ptr, nsIMsgWindow *msgWindow) = 0;

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

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

  /* void DeleteMessages (in nsIRDFCompositeDataSource database, in nsIRDFResource srcFolderResource, in nsISupportsArray messages, in boolean reallyDelete); */
  NS_IMETHOD DeleteMessages(nsIRDFCompositeDataSource *database, nsIRDFResource *srcFolderResource, nsISupportsArray *messages, PRBool reallyDelete) = 0;

  /* void DeleteFolders (in nsIRDFCompositeDataSource db, in nsIRDFResource parentFolder, in nsIRDFResource folder); */
  NS_IMETHOD DeleteFolders(nsIRDFCompositeDataSource *db, nsIRDFResource *parentFolder, nsIRDFResource *folder) = 0;

  /* void CopyMessages (in nsIMsgFolder srcFolder, in nsIMsgFolder destFolder, in nsISupportsArray messageArray, in boolean isMove); */
  NS_IMETHOD CopyMessages(nsIMsgFolder *srcFolder, nsIMsgFolder *destFolder, nsISupportsArray *messageArray, PRBool isMove) = 0;

  /* void CopyFolders (in nsIRDFCompositeDataSource database, in nsIRDFResource dstFolder, in nsISupportsArray folders, in boolean isMoveFolder); */
  NS_IMETHOD CopyFolders(nsIRDFCompositeDataSource *database, nsIRDFResource *dstFolder, nsISupportsArray *folders, PRBool isMoveFolder) = 0;

  /* void OpenURL (in string url); */
  NS_IMETHOD OpenURL(const char *url) = 0;

  /* void RenameFolder (in nsIRDFCompositeDataSource db, in nsIRDFResource folder, in wstring name); */
  NS_IMETHOD RenameFolder(nsIRDFCompositeDataSource *db, nsIRDFResource *folder, const PRUnichar *name) = 0;

  /* void CompactFolder (in nsIRDFCompositeDataSource db, in nsIRDFResource folder, in boolean forAll); */
  NS_IMETHOD CompactFolder(nsIRDFCompositeDataSource *db, nsIRDFResource *folder, PRBool forAll) = 0;

  /* void EmptyTrash (in nsIRDFCompositeDataSource db, in nsIRDFResource folder); */
  NS_IMETHOD EmptyTrash(nsIRDFCompositeDataSource *db, nsIRDFResource *folder) = 0;

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

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

  /* unsigned long GetUndoTransactionType (); */
  NS_IMETHOD GetUndoTransactionType(PRUint32 *_retval) = 0;

  /* unsigned long GetRedoTransactionType (); */
  NS_IMETHOD GetRedoTransactionType(PRUint32 *_retval) = 0;

  /* void Undo (in nsIMsgWindow msgWindow); */
  NS_IMETHOD Undo(nsIMsgWindow *msgWindow) = 0;

  /* void Redo (in nsIMsgWindow msgWindow); */
  NS_IMETHOD Redo(nsIMsgWindow *msgWindow) = 0;

  /* void sendUnsentMessages (in nsIMsgIdentity aIdentity, in nsIMsgWindow aMsgWindow); */
  NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *aIdentity, nsIMsgWindow *aMsgWindow) = 0;

  /* void SetDocumentCharset (in wstring characterSet); */
  NS_IMETHOD SetDocumentCharset(const PRUnichar *characterSet) = 0;

  /* void saveAs (in string url, in boolean asFile, in nsIMsgIdentity identity, in nsIMsgWindow aMsgWindow); */
  NS_IMETHOD SaveAs(const char *url, PRBool asFile, nsIMsgIdentity *identity, nsIMsgWindow *aMsgWindow) = 0;

  /* void openAttachment (in string contentTpe, in string url, in string displayName, in string messageUri); */
  NS_IMETHOD OpenAttachment(const char *contentTpe, const char *url, const char *displayName, const char *messageUri) = 0;

  /* void saveAttachment (in string contentTpe, in string url, in string displayName, in string messageUri); */
  NS_IMETHOD SaveAttachment(const char *contentTpe, const char *url, const char *displayName, const char *messageUri) = 0;

  /* void saveAllAttachments (in unsigned long count, [array, size_is (count)] in string contentTypeArray, [array, size_is (count)] in string urlArray, [array, size_is (count)] in string displayNameArray, [array, size_is (count)] in string messageUriArray); */
  NS_IMETHOD SaveAllAttachments(PRUint32 count, const char **contentTypeArray, const char **urlArray, const char **displayNameArray, const char **messageUriArray) = 0;

  /* void find (); */
  NS_IMETHOD Find(void) = 0;

  /* void findAgain (); */
  NS_IMETHOD FindAgain(void) = 0;

  /* nsIMsgMessageService messageServiceFromURI (in string uri); */
  NS_IMETHOD MessageServiceFromURI(const char *uri, nsIMsgMessageService **_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMESSENGER \
  NS_IMETHOD SetDisplayCharset(const PRUnichar *aCharset); \
  NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager); \
  NS_IMETHOD SetWindow(nsIDOMWindowInternal *ptr, nsIMsgWindow *msgWindow); \
  NS_IMETHOD DoPrint(void); \
  NS_IMETHOD DoPrintPreview(void); \
  NS_IMETHOD DeleteMessages(nsIRDFCompositeDataSource *database, nsIRDFResource *srcFolderResource, nsISupportsArray *messages, PRBool reallyDelete); \
  NS_IMETHOD DeleteFolders(nsIRDFCompositeDataSource *db, nsIRDFResource *parentFolder, nsIRDFResource *folder); \
  NS_IMETHOD CopyMessages(nsIMsgFolder *srcFolder, nsIMsgFolder *destFolder, nsISupportsArray *messageArray, PRBool isMove); \
  NS_IMETHOD CopyFolders(nsIRDFCompositeDataSource *database, nsIRDFResource *dstFolder, nsISupportsArray *folders, PRBool isMoveFolder); \
  NS_IMETHOD OpenURL(const char *url); \
  NS_IMETHOD RenameFolder(nsIRDFCompositeDataSource *db, nsIRDFResource *folder, const PRUnichar *name); \
  NS_IMETHOD CompactFolder(nsIRDFCompositeDataSource *db, nsIRDFResource *folder, PRBool forAll); \
  NS_IMETHOD EmptyTrash(nsIRDFCompositeDataSource *db, nsIRDFResource *folder); \
  NS_IMETHOD CanUndo(PRBool *_retval); \
  NS_IMETHOD CanRedo(PRBool *_retval); \
  NS_IMETHOD GetUndoTransactionType(PRUint32 *_retval); \
  NS_IMETHOD GetRedoTransactionType(PRUint32 *_retval); \
  NS_IMETHOD Undo(nsIMsgWindow *msgWindow); \
  NS_IMETHOD Redo(nsIMsgWindow *msgWindow); \
  NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *aIdentity, nsIMsgWindow *aMsgWindow); \
  NS_IMETHOD SetDocumentCharset(const PRUnichar *characterSet); \
  NS_IMETHOD SaveAs(const char *url, PRBool asFile, nsIMsgIdentity *identity, nsIMsgWindow *aMsgWindow); \
  NS_IMETHOD OpenAttachment(const char *contentTpe, const char *url, const char *displayName, const char *messageUri); \
  NS_IMETHOD SaveAttachment(const char *contentTpe, const char *url, const char *displayName, const char *messageUri); \
  NS_IMETHOD SaveAllAttachments(PRUint32 count, const char **contentTypeArray, const char **urlArray, const char **displayNameArray, const char **messageUriArray); \
  NS_IMETHOD Find(void); \
  NS_IMETHOD FindAgain(void); \
  NS_IMETHOD MessageServiceFromURI(const char *uri, nsIMsgMessageService **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMESSENGER(_to) \
  NS_IMETHOD SetDisplayCharset(const PRUnichar *aCharset) { return _to SetDisplayCharset(aCharset); } \
  NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) { return _to GetTransactionManager(aTransactionManager); } \
  NS_IMETHOD SetWindow(nsIDOMWindowInternal *ptr, nsIMsgWindow *msgWindow) { return _to SetWindow(ptr, msgWindow); } \
  NS_IMETHOD DoPrint(void) { return _to DoPrint(); } \
  NS_IMETHOD DoPrintPreview(void) { return _to DoPrintPreview(); } \
  NS_IMETHOD DeleteMessages(nsIRDFCompositeDataSource *database, nsIRDFResource *srcFolderResource, nsISupportsArray *messages, PRBool reallyDelete) { return _to DeleteMessages(database, srcFolderResource, messages, reallyDelete); } \
  NS_IMETHOD DeleteFolders(nsIRDFCompositeDataSource *db, nsIRDFResource *parentFolder, nsIRDFResource *folder) { return _to DeleteFolders(db, parentFolder, folder); } \
  NS_IMETHOD CopyMessages(nsIMsgFolder *srcFolder, nsIMsgFolder *destFolder, nsISupportsArray *messageArray, PRBool isMove) { return _to CopyMessages(srcFolder, destFolder, messageArray, isMove); } \
  NS_IMETHOD CopyFolders(nsIRDFCompositeDataSource *database, nsIRDFResource *dstFolder, nsISupportsArray *folders, PRBool isMoveFolder) { return _to CopyFolders(database, dstFolder, folders, isMoveFolder); } \
  NS_IMETHOD OpenURL(const char *url) { return _to OpenURL(url); } \
  NS_IMETHOD RenameFolder(nsIRDFCompositeDataSource *db, nsIRDFResource *folder, const PRUnichar *name) { return _to RenameFolder(db, folder, name); } \
  NS_IMETHOD CompactFolder(nsIRDFCompositeDataSource *db, nsIRDFResource *folder, PRBool forAll) { return _to CompactFolder(db, folder, forAll); } \
  NS_IMETHOD EmptyTrash(nsIRDFCompositeDataSource *db, nsIRDFResource *folder) { return _to EmptyTrash(db, folder); } \
  NS_IMETHOD CanUndo(PRBool *_retval) { return _to CanUndo(_retval); } \
  NS_IMETHOD CanRedo(PRBool *_retval) { return _to CanRedo(_retval); } \
  NS_IMETHOD GetUndoTransactionType(PRUint32 *_retval) { return _to GetUndoTransactionType(_retval); } \
  NS_IMETHOD GetRedoTransactionType(PRUint32 *_retval) { return _to GetRedoTransactionType(_retval); } \
  NS_IMETHOD Undo(nsIMsgWindow *msgWindow) { return _to Undo(msgWindow); } \
  NS_IMETHOD Redo(nsIMsgWindow *msgWindow) { return _to Redo(msgWindow); } \
  NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *aIdentity, nsIMsgWindow *aMsgWindow) { return _to SendUnsentMessages(aIdentity, aMsgWindow); } \
  NS_IMETHOD SetDocumentCharset(const PRUnichar *characterSet) { return _to SetDocumentCharset(characterSet); } \
  NS_IMETHOD SaveAs(const char *url, PRBool asFile, nsIMsgIdentity *identity, nsIMsgWindow *aMsgWindow) { return _to SaveAs(url, asFile, identity, aMsgWindow); } \
  NS_IMETHOD OpenAttachment(const char *contentTpe, const char *url, const char *displayName, const char *messageUri) { return _to OpenAttachment(contentTpe, url, displayName, messageUri); } \
  NS_IMETHOD SaveAttachment(const char *contentTpe, const char *url, const char *displayName, const char *messageUri) { return _to SaveAttachment(contentTpe, url, displayName, messageUri); } \
  NS_IMETHOD SaveAllAttachments(PRUint32 count, const char **contentTypeArray, const char **urlArray, const char **displayNameArray, const char **messageUriArray) { return _to SaveAllAttachments(count, contentTypeArray, urlArray, displayNameArray, messageUriArray); } \
  NS_IMETHOD Find(void) { return _to Find(); } \
  NS_IMETHOD FindAgain(void) { return _to FindAgain(); } \
  NS_IMETHOD MessageServiceFromURI(const char *uri, nsIMsgMessageService **_retval) { return _to MessageServiceFromURI(uri, _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_NSIMESSENGER(_to) \
  NS_IMETHOD SetDisplayCharset(const PRUnichar *aCharset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisplayCharset(aCharset); } \
  NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTransactionManager(aTransactionManager); } \
  NS_IMETHOD SetWindow(nsIDOMWindowInternal *ptr, nsIMsgWindow *msgWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWindow(ptr, msgWindow); } \
  NS_IMETHOD DoPrint(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoPrint(); } \
  NS_IMETHOD DoPrintPreview(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoPrintPreview(); } \
  NS_IMETHOD DeleteMessages(nsIRDFCompositeDataSource *database, nsIRDFResource *srcFolderResource, nsISupportsArray *messages, PRBool reallyDelete) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteMessages(database, srcFolderResource, messages, reallyDelete); } \
  NS_IMETHOD DeleteFolders(nsIRDFCompositeDataSource *db, nsIRDFResource *parentFolder, nsIRDFResource *folder) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteFolders(db, parentFolder, folder); } \
  NS_IMETHOD CopyMessages(nsIMsgFolder *srcFolder, nsIMsgFolder *destFolder, nsISupportsArray *messageArray, PRBool isMove) { return !_to ? NS_ERROR_NULL_POINTER : _to->CopyMessages(srcFolder, destFolder, messageArray, isMove); } \
  NS_IMETHOD CopyFolders(nsIRDFCompositeDataSource *database, nsIRDFResource *dstFolder, nsISupportsArray *folders, PRBool isMoveFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->CopyFolders(database, dstFolder, folders, isMoveFolder); } \
  NS_IMETHOD OpenURL(const char *url) { return !_to ? NS_ERROR_NULL_POINTER : _to->OpenURL(url); } \
  NS_IMETHOD RenameFolder(nsIRDFCompositeDataSource *db, nsIRDFResource *folder, const PRUnichar *name) { return !_to ? NS_ERROR_NULL_POINTER : _to->RenameFolder(db, folder, name); } \
  NS_IMETHOD CompactFolder(nsIRDFCompositeDataSource *db, nsIRDFResource *folder, PRBool forAll) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompactFolder(db, folder, forAll); } \
  NS_IMETHOD EmptyTrash(nsIRDFCompositeDataSource *db, nsIRDFResource *folder) { return !_to ? NS_ERROR_NULL_POINTER : _to->EmptyTrash(db, folder); } \
  NS_IMETHOD CanUndo(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CanUndo(_retval); } \
  NS_IMETHOD CanRedo(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CanRedo(_retval); } \
  NS_IMETHOD GetUndoTransactionType(PRUint32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUndoTransactionType(_retval); } \
  NS_IMETHOD GetRedoTransactionType(PRUint32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRedoTransactionType(_retval); } \
  NS_IMETHOD Undo(nsIMsgWindow *msgWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->Undo(msgWindow); } \
  NS_IMETHOD Redo(nsIMsgWindow *msgWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->Redo(msgWindow); } \
  NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *aIdentity, nsIMsgWindow *aMsgWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->SendUnsentMessages(aIdentity, aMsgWindow); } \
  NS_IMETHOD SetDocumentCharset(const PRUnichar *characterSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocumentCharset(characterSet); } \
  NS_IMETHOD SaveAs(const char *url, PRBool asFile, nsIMsgIdentity *identity, nsIMsgWindow *aMsgWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->SaveAs(url, asFile, identity, aMsgWindow); } \
  NS_IMETHOD OpenAttachment(const char *contentTpe, const char *url, const char *displayName, const char *messageUri) { return !_to ? NS_ERROR_NULL_POINTER : _to->OpenAttachment(contentTpe, url, displayName, messageUri); } \
  NS_IMETHOD SaveAttachment(const char *contentTpe, const char *url, const char *displayName, const char *messageUri) { return !_to ? NS_ERROR_NULL_POINTER : _to->SaveAttachment(contentTpe, url, displayName, messageUri); } \
  NS_IMETHOD SaveAllAttachments(PRUint32 count, const char **contentTypeArray, const char **urlArray, const char **displayNameArray, const char **messageUriArray) { return !_to ? NS_ERROR_NULL_POINTER : _to->SaveAllAttachments(count, contentTypeArray, urlArray, displayNameArray, messageUriArray); } \
  NS_IMETHOD Find(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Find(); } \
  NS_IMETHOD FindAgain(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->FindAgain(); } \
  NS_IMETHOD MessageServiceFromURI(const char *uri, nsIMsgMessageService **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->MessageServiceFromURI(uri, _retval); } 

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

/* Header file */
class nsMessenger : public nsIMessenger
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMESSENGER

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMessenger, nsIMessenger)

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

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

/* void setDisplayCharset (in wstring aCharset); */
NS_IMETHODIMP nsMessenger::SetDisplayCharset(const PRUnichar *aCharset)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* void SetWindow (in nsIDOMWindowInternal ptr, in nsIMsgWindow msgWindow); */
NS_IMETHODIMP nsMessenger::SetWindow(nsIDOMWindowInternal *ptr, nsIMsgWindow *msgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void DoPrint (); */
NS_IMETHODIMP nsMessenger::DoPrint()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void DoPrintPreview (); */
NS_IMETHODIMP nsMessenger::DoPrintPreview()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void DeleteMessages (in nsIRDFCompositeDataSource database, in nsIRDFResource srcFolderResource, in nsISupportsArray messages, in boolean reallyDelete); */
NS_IMETHODIMP nsMessenger::DeleteMessages(nsIRDFCompositeDataSource *database, nsIRDFResource *srcFolderResource, nsISupportsArray *messages, PRBool reallyDelete)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void DeleteFolders (in nsIRDFCompositeDataSource db, in nsIRDFResource parentFolder, in nsIRDFResource folder); */
NS_IMETHODIMP nsMessenger::DeleteFolders(nsIRDFCompositeDataSource *db, nsIRDFResource *parentFolder, nsIRDFResource *folder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void CopyMessages (in nsIMsgFolder srcFolder, in nsIMsgFolder destFolder, in nsISupportsArray messageArray, in boolean isMove); */
NS_IMETHODIMP nsMessenger::CopyMessages(nsIMsgFolder *srcFolder, nsIMsgFolder *destFolder, nsISupportsArray *messageArray, PRBool isMove)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void CopyFolders (in nsIRDFCompositeDataSource database, in nsIRDFResource dstFolder, in nsISupportsArray folders, in boolean isMoveFolder); */
NS_IMETHODIMP nsMessenger::CopyFolders(nsIRDFCompositeDataSource *database, nsIRDFResource *dstFolder, nsISupportsArray *folders, PRBool isMoveFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void OpenURL (in string url); */
NS_IMETHODIMP nsMessenger::OpenURL(const char *url)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void RenameFolder (in nsIRDFCompositeDataSource db, in nsIRDFResource folder, in wstring name); */
NS_IMETHODIMP nsMessenger::RenameFolder(nsIRDFCompositeDataSource *db, nsIRDFResource *folder, const PRUnichar *name)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void CompactFolder (in nsIRDFCompositeDataSource db, in nsIRDFResource folder, in boolean forAll); */
NS_IMETHODIMP nsMessenger::CompactFolder(nsIRDFCompositeDataSource *db, nsIRDFResource *folder, PRBool forAll)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void EmptyTrash (in nsIRDFCompositeDataSource db, in nsIRDFResource folder); */
NS_IMETHODIMP nsMessenger::EmptyTrash(nsIRDFCompositeDataSource *db, nsIRDFResource *folder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean CanUndo (); */
NS_IMETHODIMP nsMessenger::CanUndo(PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean CanRedo (); */
NS_IMETHODIMP nsMessenger::CanRedo(PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* unsigned long GetUndoTransactionType (); */
NS_IMETHODIMP nsMessenger::GetUndoTransactionType(PRUint32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* unsigned long GetRedoTransactionType (); */
NS_IMETHODIMP nsMessenger::GetRedoTransactionType(PRUint32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void Undo (in nsIMsgWindow msgWindow); */
NS_IMETHODIMP nsMessenger::Undo(nsIMsgWindow *msgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void Redo (in nsIMsgWindow msgWindow); */
NS_IMETHODIMP nsMessenger::Redo(nsIMsgWindow *msgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void sendUnsentMessages (in nsIMsgIdentity aIdentity, in nsIMsgWindow aMsgWindow); */
NS_IMETHODIMP nsMessenger::SendUnsentMessages(nsIMsgIdentity *aIdentity, nsIMsgWindow *aMsgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SetDocumentCharset (in wstring characterSet); */
NS_IMETHODIMP nsMessenger::SetDocumentCharset(const PRUnichar *characterSet)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void saveAs (in string url, in boolean asFile, in nsIMsgIdentity identity, in nsIMsgWindow aMsgWindow); */
NS_IMETHODIMP nsMessenger::SaveAs(const char *url, PRBool asFile, nsIMsgIdentity *identity, nsIMsgWindow *aMsgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void openAttachment (in string contentTpe, in string url, in string displayName, in string messageUri); */
NS_IMETHODIMP nsMessenger::OpenAttachment(const char *contentTpe, const char *url, const char *displayName, const char *messageUri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void saveAttachment (in string contentTpe, in string url, in string displayName, in string messageUri); */
NS_IMETHODIMP nsMessenger::SaveAttachment(const char *contentTpe, const char *url, const char *displayName, const char *messageUri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void saveAllAttachments (in unsigned long count, [array, size_is (count)] in string contentTypeArray, [array, size_is (count)] in string urlArray, [array, size_is (count)] in string displayNameArray, [array, size_is (count)] in string messageUriArray); */
NS_IMETHODIMP nsMessenger::SaveAllAttachments(PRUint32 count, const char **contentTypeArray, const char **urlArray, const char **displayNameArray, const char **messageUriArray)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void find (); */
NS_IMETHODIMP nsMessenger::Find()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void findAgain (); */
NS_IMETHODIMP nsMessenger::FindAgain()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIMsgMessageService messageServiceFromURI (in string uri); */
NS_IMETHODIMP nsMessenger::MessageServiceFromURI(const char *uri, nsIMsgMessageService **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMessenger_h__ */
