From 6658daac3eb279d146c179ecda7eaac9af641ea2 Mon Sep 17 00:00:00 2001 From: "ducarroz%netscape.com" Date: Thu, 11 Mar 1999 01:30:18 +0000 Subject: [PATCH] add new interface to nsIMsgCompose --- mailnews/compose/public/nsIMsgCompose.h | 6 ++---- mailnews/compose/public/nsIMsgCompose.idl | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/mailnews/compose/public/nsIMsgCompose.h b/mailnews/compose/public/nsIMsgCompose.h index ac2b2da08f7..68ed08b2b33 100644 --- a/mailnews/compose/public/nsIMsgCompose.h +++ b/mailnews/compose/public/nsIMsgCompose.h @@ -33,9 +33,8 @@ class nsIMsgCompose : public nsISupports { return iid; } -#if 0 - /* void CreateAndInit (in long a_context, in long old_context, in long prefs, in nsIMsgCompFields initfields, in long master); */ - NS_IMETHOD CreateAndInit(PRInt32 a_context, PRInt32 old_context, PRInt32 prefs, nsIMsgCompFields *initfields, PRInt32 master) = 0; + /* void CreateAndInitialize (in long a_context, in long old_context, in long prefs, in nsIMsgCompFields initfields, in long master); */ + NS_IMETHOD CreateAndInitialize(PRInt32 a_context, PRInt32 old_context, PRInt32 prefs, nsIMsgCompFields *initfields, PRInt32 master) = 0; /* void Create (in long a_context, in long prefs, in long master); */ NS_IMETHOD Create(PRInt32 a_context, PRInt32 prefs, PRInt32 master) = 0; @@ -45,7 +44,6 @@ class nsIMsgCompose : public nsISupports { /* void Dispose (); */ NS_IMETHOD Dispose() = 0; -#endif #ifdef XPIDL_JS_STUBS static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx); diff --git a/mailnews/compose/public/nsIMsgCompose.idl b/mailnews/compose/public/nsIMsgCompose.idl index 4bc6510b571..d897fd16664 100644 --- a/mailnews/compose/public/nsIMsgCompose.idl +++ b/mailnews/compose/public/nsIMsgCompose.idl @@ -23,7 +23,7 @@ [object, uuid(4E606270-B588-11D2-8289-00805F2A0107)] interface nsIMsgCompose : nsISupports { - void CreateAndInit(in long a_context, in long old_context, in long prefs, in nsIMsgCompFields initfields, in long master); + void CreateAndInitialize(in long a_context, in long old_context, in long prefs, in nsIMsgCompFields initfields, in long master); void Create(in long a_context, in long prefs, in long master); void Initialize(in long old_context, in nsIMsgCompFields initfields); void Dispose();