gecko-dev/mailnews/compose/public/nsIMsgSend.h
1999-06-26 01:11:28 +00:00

70 lines
2.8 KiB
C++

/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIMsgSend.idl
*/
#ifndef __gen_nsIMsgSend_h__
#define __gen_nsIMsgSend_h__
#include "nsISupports.h" /* interface nsISupports */
#include "nsIMsgCompFields.h" /* interface nsIMsgCompFields */
#include "nsIMsgSendListener.h"
#include "nsIMsgIdentity.h"
#include "nsMsgComposeBE.h"
#ifdef XPIDL_JS_STUBS
#include "jsapi.h"
#endif
/* starting interface: nsIMsgSend */
/* {9E9BD970-C5D6-11d2-8297-000000000000} */
#define NS_IMSGSEND_IID_STR "9E9BD970-C5D6-11d2-8297-000000000000"
#define NS_IMSGSEND_IID \
{0x9E9BD970, 0xC5D6, 0x11d2, \
{ 0x82, 0x97, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }}
class nsIMsgSend : public nsISupports {
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IMSGSEND_IID)
NS_IMETHOD CreateAndSendMessage(
nsIMsgIdentity *aUserIdentity,
nsIMsgCompFields *fields,
PRBool digest_p,
PRBool dont_deliver_p,
nsMsgDeliverMode mode,
const char *attachment1_type,
const char *attachment1_body,
PRUint32 attachment1_body_length,
const struct nsMsgAttachmentData *attachments,
const struct nsMsgAttachedFile *preloaded_attachments,
void *relatedPart /* nsMsgSendPart */,
nsIMsgSendListener **aListenerArray) = 0;
NS_IMETHOD SendMessageFile(
nsIMsgIdentity *aUserIdentity,
nsIMsgCompFields *fields,
nsFileSpec *sendFileSpec,
PRBool deleteSendFileOnCompletion,
PRBool digest_p,
nsMsgDeliverMode mode,
nsIMsgSendListener **aListenerArray) = 0;
NS_IMETHOD SendWebPage(
nsIMsgIdentity *aUserIdentity,
nsIMsgCompFields *fields,
nsIURI *url,
nsMsgDeliverMode mode,
nsIMsgSendListener **aListenerArray) = 0;
NS_IMETHOD AddListener(nsIMsgSendListener *aListener) = 0;
NS_IMETHOD RemoveListener(nsIMsgSendListener *aListener) = 0;
#ifdef XPIDL_JS_STUBS
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIMsgSend *priv);
#endif
};
#endif /* __gen_nsIMsgSend_h__ */