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

#ifndef __gen_nsIDOMComposeAppCore_h__
#define __gen_nsIDOMComposeAppCore_h__

#include "nsISupports.h" /* interface nsISupports */
#include "nsIDOMWindow.h" /* interface nsIDOMWindow */
#include "nsISupportsArray.h" /* interface nsISupportsArray */
#include "nsIDOMXULElement.h" /* interface nsIDOMXULElement */
#include "nsICollection.h" /* interface nsICollection */
#include "nsRDFInterfaces.h" /* interface nsRDFInterfaces */
#include "nsIDOMEditorAppCore.h" /* interface nsIDOMEditorAppCore */
#include "nsIEnumerator.h" /* interface nsIEnumerator */
#include "nsID.h" /* interface nsID */
#include "nsIDOMXULTreeElement.h" /* interface nsIDOMXULTreeElement */
#include "nsIDOMBaseAppCore.h" /* interface nsIDOMBaseAppCore */
#include "nsIDOMNodeList.h" /* interface nsIDOMNodeList */

#ifdef XPIDL_JS_STUBS
#include "jsapi.h"
#endif

/* starting interface:    nsIDOMComposeAppCore */

/* {D4779C9A-CAA6-11d2-A6F2-0060B0EB39B5} */
#define NS_IDOMCOMPOSEAPPCORE_IID_STR "D4779C9A-CAA6-11d2-A6F2-0060B0EB39B5"
#define NS_IDOMCOMPOSEAPPCORE_IID \
  {0xD4779C9A, 0xCAA6, 0x11d2, \
    { 0xA6, 0xF2, 0x00, 0x60, 0xB0, 0xEB, 0x39, 0xB5 }}

class nsIDOMComposeAppCore : public nsIDOMBaseAppCore {
 public: 
  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMCOMPOSEAPPCORE_IID)

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

  /* void SetWindow (in nsIDOMWindow ptr); */
  NS_IMETHOD SetWindow(nsIDOMWindow *ptr) = 0;

  /* void SetEditor (in nsIDOMEditorAppCore ptr); */
  NS_IMETHOD SetEditor(nsIDOMEditorAppCore *ptr) = 0;

  /* void CompleteCallback (in nsAutoString script); */
  NS_IMETHOD CompleteCallback(nsAutoString& script) = 0;

  /* void NewMessage (in nsAutoString url, in nsAutoString args, in nsIDOMXULTreeElement tree, in nsIDOMNodeList node, in long messageType); */
  NS_IMETHOD NewMessage(nsAutoString& url, nsAutoString& args, nsIDOMXULTreeElement *tree, nsIDOMNodeList *node, PRInt32 messageType) = 0;

  /* void SendMsg (in nsAutoString addrTo, in nsAutoString addrCc, in nsAutoString addrBcc, in nsAutoString newsgroup, in nsAutoString subject, in nsAutoString msg); */
  NS_IMETHOD SendMsg(nsAutoString& addrTo, nsAutoString& addrCc, nsAutoString& addrBcc, nsAutoString& newsgroup, nsAutoString& subject, nsAutoString& msg) = 0;

  /* long SendMessage2 (); */
  NS_IMETHOD SendMessage2(PRInt32 *_retval) = 0;

  /* attribute bool useHtml; */
  NS_IMETHOD GetUseHtml(PRBool *aUseHtml) = 0;
  NS_IMETHOD SetUseHtml(PRBool aUseHtml) = 0;

  /* readonly attribute long wrapColumn; */
  NS_IMETHOD GetWrapColumn(PRInt32 *aWrapColumn) = 0;


#ifdef XPIDL_JS_STUBS
  static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
  static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIDOMComposeAppCore *priv);
#endif
};
extern "C" 
nsresult NS_InitComposeAppCoreClass(nsIScriptContext *aContext, void **aPrototype);
 


#endif /* __gen_nsIDOMComposeAppCore_h__ */
