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/Twitter/src/proto.cpp | 8 -------- protocols/Twitter/src/proto.h | 1 - 2 files changed, 9 deletions(-) (limited to 'protocols/Twitter') diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp index 1cb498226b..588c866a0e 100644 --- a/protocols/Twitter/src/proto.cpp +++ b/protocols/Twitter/src/proto.cpp @@ -98,14 +98,6 @@ DWORD_PTR TwitterProto::GetCaps(int type, MCONTACT) // ************************* -int TwitterProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *pre) -{ - Proto_RecvMessage(hContact, pre); - return 0; -} - -// ************************* - struct send_direct { __inline send_direct(MCONTACT _hContact, const std::string &_msg, int _msgid) : diff --git a/protocols/Twitter/src/proto.h b/protocols/Twitter/src/proto.h index f381516075..e1e7dd051e 100644 --- a/protocols/Twitter/src/proto.h +++ b/protocols/Twitter/src/proto.h @@ -36,7 +36,6 @@ public: virtual HANDLE __cdecl SearchBasic(const wchar_t *); virtual HANDLE __cdecl SearchByEmail(const wchar_t *); - virtual int __cdecl RecvMsg(MCONTACT, PROTORECVEVENT *); virtual int __cdecl SendMsg(MCONTACT, int, const char *); virtual int __cdecl SetStatus(int); -- cgit v1.2.3