Add parameter args to member function NewMessage() to solve multiple appcores problem

This commit is contained in:
ducarroz%netscape.com 1999-04-27 21:26:49 +00:00
Родитель 22000d46f3
Коммит 26c91ebf6d
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -44,8 +44,8 @@ class nsIDOMComposeAppCore : public nsIDOMBaseAppCore {
/* void CompleteCallback (in nsAutoString script); */
NS_IMETHOD CompleteCallback(nsAutoString& script) = 0;
/* void NewMessage (in nsAutoString url, in nsIDOMXULTreeElement tree, in nsIDOMNodeList node, in nsIDOMMsgAppCore msgAppCore, in long messageType); */
NS_IMETHOD NewMessage(nsAutoString& url, nsIDOMXULTreeElement *tree, nsIDOMNodeList *node, nsIDOMMsgAppCore *msgAppCore, PRInt32 messageType) = 0;
/* void NewMessage (in nsAutoString url, in nsAutoString args, in nsIDOMXULTreeElement tree, in nsIDOMNodeList node, in nsIDOMMsgAppCore msgAppCore, in long messageType); */
NS_IMETHOD NewMessage(nsAutoString& url, nsAutoString& args, nsIDOMXULTreeElement *tree, nsIDOMNodeList *node, nsIDOMMsgAppCore *msgAppCore, PRInt32 messageType) = 0;
/* void SendMessage (in nsAutoString addrTo, in nsAutoString addrCc, in nsAutoString addrBcc, in nsAutoString newsgroup, in nsAutoString subject, in nsAutoString msg); */
NS_IMETHOD SendMessage(nsAutoString& addrTo, nsAutoString& addrCc, nsAutoString& addrBcc, nsAutoString& newsgroup, nsAutoString& subject, nsAutoString& msg) = 0;

Просмотреть файл

@ -34,7 +34,8 @@ interface nsIDOMComposeAppCore : nsIDOMBaseAppCore {
void SetWindow(in nsIDOMWindow ptr);
void SetEditor(in nsIDOMEditorAppCore ptr);
void CompleteCallback(in nsAutoString script);
void NewMessage(in nsAutoString url,
void NewMessage(in nsAutoString url,
in nsAutoString args,
in nsIDOMXULTreeElement tree,
in nsIDOMNodeList node,
in nsIDOMMsgAppCore msgAppCore,