зеркало из https://github.com/mozilla/pjs.git
rev this interface - char*->const char*
This commit is contained in:
Родитель
ad57c891f6
Коммит
5e6994c3ee
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче