rev this interface - char*->const char*

This commit is contained in:
alecf%netscape.com 1999-03-11 21:02:50 +00:00
Родитель ad57c891f6
Коммит 5e6994c3ee
3 изменённых файлов: 4 добавлений и 9 удалений

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

@ -12,11 +12,6 @@
#ifdef XPIDL_JS_STUBS
#include "jsapi.h"
#endif
#include "nsDebug.h"
#include "nsTraceRefcnt.h"
#include "nsID.h"
#include "nsError.h"
/* starting interface nsIMsgSend */
@ -33,8 +28,8 @@ class nsIMsgSend : public nsISupports {
return iid;
}
/* void SendMessage (in nsIMsgCompFields fields); */
NS_IMETHOD SendMessage(const nsIMsgCompFields *fields, const char *smtp) = 0;
/* void SendMessage (in nsIMsgCompFields fields, in string smtp); */
NS_IMETHOD SendMessage(nsIMsgCompFields *fields, const char *smtp) = 0;
#ifdef XPIDL_JS_STUBS
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);

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

@ -343,7 +343,7 @@ nsMsgSendMimeDeliveryState::~nsMsgSendMimeDeliveryState()
/* the following macro actually implement addref, release and query interface for our component. */
NS_IMPL_ISUPPORTS(nsMsgSendMimeDeliveryState, nsIMsgSend::GetIID());
nsresult nsMsgSendMimeDeliveryState::SendMessage(const nsIMsgCompFields *fields, const char *smtp)
nsresult nsMsgSendMimeDeliveryState::SendMessage(nsIMsgCompFields *fields, const char *smtp)
{
const char* pBody;
PRInt32 nBodyLength;

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

@ -80,7 +80,7 @@ public:
/* this macro defines QueryInterface, AddRef and Release for this class */
NS_DECL_ISUPPORTS
NS_IMETHOD SendMessage(const nsIMsgCompFields *fields, const char *smtp);
NS_IMETHOD SendMessage(nsIMsgCompFields *fields, const char *smtp);
void StartMessageDelivery(MSG_Pane *pane,
void *fe_data,