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
Родитель b7e2a9919d
Коммит 4400e6bede
2 изменённых файлов: 4 добавлений и 3 удалений

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

@ -44,8 +44,8 @@ class nsIDOMComposeAppCore : public nsIDOMBaseAppCore {
/* void CompleteCallback (in nsAutoString script); */ /* void CompleteCallback (in nsAutoString script); */
NS_IMETHOD CompleteCallback(nsAutoString& script) = 0; NS_IMETHOD CompleteCallback(nsAutoString& script) = 0;
/* void NewMessage (in nsAutoString url, in nsIDOMXULTreeElement tree, in nsIDOMNodeList node, in nsIDOMMsgAppCore msgAppCore, in long messageType); */ /* 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, nsIDOMXULTreeElement *tree, nsIDOMNodeList *node, nsIDOMMsgAppCore *msgAppCore, PRInt32 messageType) = 0; 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); */ /* 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; 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 SetWindow(in nsIDOMWindow ptr);
void SetEditor(in nsIDOMEditorAppCore ptr); void SetEditor(in nsIDOMEditorAppCore ptr);
void CompleteCallback(in nsAutoString script); void CompleteCallback(in nsAutoString script);
void NewMessage(in nsAutoString url, void NewMessage(in nsAutoString url,
in nsAutoString args,
in nsIDOMXULTreeElement tree, in nsIDOMXULTreeElement tree,
in nsIDOMNodeList node, in nsIDOMNodeList node,
in nsIDOMMsgAppCore msgAppCore, in nsIDOMMsgAppCore msgAppCore,