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

#ifndef __gen_nsIMsgDraft_h__
#define __gen_nsIMsgDraft_h__

#include "nsISupports.h"
#include "nsIOutputStream.h"
#include "nsIMsgIdentity.h"

class nsIMessage; /* forward declaration */


/* starting interface:    nsIMsgDraft */
#define NS_IMSGDRAFT_IID_STR "a6237474-453b-11d3-8f0f-00a024a7d144"

#define NS_IMSGDRAFT_IID \
  {0xa6237474, 0x453b, 0x11d3, \
    { 0x8f, 0x0f, 0x00, 0xa0, 0x24, 0xa7, 0xd1, 0x44 }}

class NS_NO_VTABLE nsIMsgDraft : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IMSGDRAFT_IID)

  /* void OpenDraftMsg (in wstring msgURI, out nsIMessage aMsgToReplace, in nsIMsgIdentity identity, in PRBool addInlineHeaders); */
  NS_IMETHOD OpenDraftMsg(const PRUnichar *msgURI, nsIMessage **aMsgToReplace, nsIMsgIdentity *identity, PRBool addInlineHeaders) = 0;

  /* void OpenEditorTemplate (in wstring msgURI, out nsIMessage aMsgReplace, in nsIMsgIdentity identity); */
  NS_IMETHOD OpenEditorTemplate(const PRUnichar *msgURI, nsIMessage **aMsgReplace, nsIMsgIdentity *identity) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGDRAFT \
  NS_IMETHOD OpenDraftMsg(const PRUnichar *msgURI, nsIMessage **aMsgToReplace, nsIMsgIdentity *identity, PRBool addInlineHeaders); \
  NS_IMETHOD OpenEditorTemplate(const PRUnichar *msgURI, nsIMessage **aMsgReplace, nsIMsgIdentity *identity); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGDRAFT(_to) \
  NS_IMETHOD OpenDraftMsg(const PRUnichar *msgURI, nsIMessage **aMsgToReplace, nsIMsgIdentity *identity, PRBool addInlineHeaders) { return _to ## OpenDraftMsg(msgURI, aMsgToReplace, identity, addInlineHeaders); } \
  NS_IMETHOD OpenEditorTemplate(const PRUnichar *msgURI, nsIMessage **aMsgReplace, nsIMsgIdentity *identity) { return _to ## OpenEditorTemplate(msgURI, aMsgReplace, identity); } 

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

/* Header file */
class nsMsgDraft : public nsIMsgDraft
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGDRAFT

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMsgDraft, nsIMsgDraft)

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

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

/* void OpenDraftMsg (in wstring msgURI, out nsIMessage aMsgToReplace, in nsIMsgIdentity identity, in PRBool addInlineHeaders); */
NS_IMETHODIMP nsMsgDraft::OpenDraftMsg(const PRUnichar *msgURI, nsIMessage **aMsgToReplace, nsIMsgIdentity *identity, PRBool addInlineHeaders)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void OpenEditorTemplate (in wstring msgURI, out nsIMessage aMsgReplace, in nsIMsgIdentity identity); */
NS_IMETHODIMP nsMsgDraft::OpenEditorTemplate(const PRUnichar *msgURI, nsIMessage **aMsgReplace, nsIMsgIdentity *identity)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMsgDraft_h__ */
