From 7bb41bcc7824ab4ae248992df3ac82e6b148720f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 31 Jan 2018 19:48:57 +0300 Subject: useless wrappers removed & replaced with PROTO_INTERFACE method calls --- protocols/VKontakte/src/vk_messages.cpp | 9 --------- protocols/VKontakte/src/vk_proto.h | 1 - 2 files changed, 10 deletions(-) (limited to 'protocols/VKontakte') diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp index cd3661e119..839066adb1 100644 --- a/protocols/VKontakte/src/vk_messages.cpp +++ b/protocols/VKontakte/src/vk_messages.cpp @@ -19,15 +19,6 @@ along with this program. If not, see . ////////////////////////////////////////////////////////////////////////////// -int CVkProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *pre) -{ - debugLogA("CVkProto::RecvMsg"); - Proto_RecvMessage(hContact, pre); - return 0; -} - -////////////////////////////////////////////////////////////////////////////// - void CVkProto::SendMsgAck(void *param) { debugLogA("CVkProto::SendMsgAck"); diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h index 1a53fd325f..8b7abdbb8a 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -61,7 +61,6 @@ struct CVkProto : public PROTO virtual HANDLE __cdecl SearchBasic(const wchar_t *id); virtual HANDLE __cdecl SearchByEmail(const wchar_t *email); virtual HANDLE __cdecl SearchByName(const wchar_t *nick, const wchar_t *firstName, const wchar_t *lastName); - virtual int __cdecl RecvMsg(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl SendMsg(MCONTACT hContact, int flags, const char *msg); virtual HANDLE __cdecl SendFile(MCONTACT hContact, const wchar_t *szDescription, wchar_t **ppszFiles); virtual int __cdecl SetStatus(int iNewStatus); -- cgit v1.2.3