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

#ifndef __gen_nsIMsgSendLater_h__
#define __gen_nsIMsgSendLater_h__

#include "nsISupports.h"
#include "nsISupportsArray.h"
#include "nsrootidl.h"
#include "nsIFileSpec.h"
#include "nsIMsgIdentity.h"
#include "nsIMsgCompFields.h"
#include "nsIMsgSendListener.h"
#include "nsIMsgSendLaterListener.h"
#include "nsIStreamListener.h"


/* starting interface:    nsIMsgSendLater */
#define NS_IMSGSENDLATER_IID_STR "e15c83e8-1cf4-11d3-8ef0-00a024a7d144"

#define NS_IMSGSENDLATER_IID \
  {0xe15c83e8, 0x1cf4, 0x11d3, \
    { 0x8e, 0xf0, 0x00, 0xa0, 0x24, 0xa7, 0xd1, 0x44 }}

class NS_NO_VTABLE nsIMsgSendLater : public nsIStreamListener {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IMSGSENDLATER_IID)

  /* [noscript] void SendUnsentMessages (in nsIMsgIdentity identity, in sendListenerPtr listenerArray); */
  NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *identity, nsIMsgSendLaterListener * * listenerArray) = 0;

  /* void RemoveListener (in nsIMsgSendLaterListener aListener); */
  NS_IMETHOD RemoveListener(nsIMsgSendLaterListener *aListener) = 0;

  /* void AddListener (in nsIMsgSendLaterListener aListener); */
  NS_IMETHOD AddListener(nsIMsgSendLaterListener *aListener) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGSENDLATER \
  NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *identity, nsIMsgSendLaterListener * * listenerArray); \
  NS_IMETHOD RemoveListener(nsIMsgSendLaterListener *aListener); \
  NS_IMETHOD AddListener(nsIMsgSendLaterListener *aListener); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGSENDLATER(_to) \
  NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *identity, nsIMsgSendLaterListener * * listenerArray) { return _to ## SendUnsentMessages(identity, listenerArray); } \
  NS_IMETHOD RemoveListener(nsIMsgSendLaterListener *aListener) { return _to ## RemoveListener(aListener); } \
  NS_IMETHOD AddListener(nsIMsgSendLaterListener *aListener) { return _to ## AddListener(aListener); } 

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

/* Header file */
class nsMsgSendLater : public nsIMsgSendLater
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGSENDLATER

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMsgSendLater, nsIMsgSendLater)

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

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

/* [noscript] void SendUnsentMessages (in nsIMsgIdentity identity, in sendListenerPtr listenerArray); */
NS_IMETHODIMP nsMsgSendLater::SendUnsentMessages(nsIMsgIdentity *identity, nsIMsgSendLaterListener * * listenerArray)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void RemoveListener (in nsIMsgSendLaterListener aListener); */
NS_IMETHODIMP nsMsgSendLater::RemoveListener(nsIMsgSendLaterListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void AddListener (in nsIMsgSendLaterListener aListener); */
NS_IMETHODIMP nsMsgSendLater::AddListener(nsIMsgSendLaterListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMsgSendLater_h__ */
