From 1338ad89ee45bdb681c531476dca00a377d7d033 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 3 Dec 2023 17:14:30 +0300 Subject: PROTO_INTERFACE::SendMsg: second parameter became a reply event id --- protocols/Dummy/src/dummy_proto.cpp | 2 +- protocols/Dummy/src/dummy_proto.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Dummy/src') diff --git a/protocols/Dummy/src/dummy_proto.cpp b/protocols/Dummy/src/dummy_proto.cpp index a3f0eb113e..e89442144b 100644 --- a/protocols/Dummy/src/dummy_proto.cpp +++ b/protocols/Dummy/src/dummy_proto.cpp @@ -136,7 +136,7 @@ INT_PTR CDummyProto::GetCaps(int type, MCONTACT) ////////////////////////////////////////////////////////////////////////////// -int CDummyProto::SendMsg(MCONTACT hContact, const char *msg) +int CDummyProto::SendMsg(MCONTACT hContact, MEVENT, const char *msg) { std::string message = msg; unsigned int id = InterlockedIncrement(&this->msgid); diff --git a/protocols/Dummy/src/dummy_proto.h b/protocols/Dummy/src/dummy_proto.h index 3760fbba4a..2aeb34705f 100644 --- a/protocols/Dummy/src/dummy_proto.h +++ b/protocols/Dummy/src/dummy_proto.h @@ -30,7 +30,7 @@ struct CDummyProto : public PROTO INT_PTR GetCaps(int type, MCONTACT hContact = NULL) override; - int SendMsg(MCONTACT hContact, const char* msg) override; + int SendMsg(MCONTACT hContact, MEVENT, const char* msg) override; int SetStatus(int iNewStatus) override; -- cgit v1.2.3