From 7bb41bcc7824ab4ae248992df3ac82e6b148720f Mon Sep 17 00:00:00 2001 From: George Hazan <ghazan@miranda.im> Date: Wed, 31 Jan 2018 19:48:57 +0300 Subject: useless wrappers removed & replaced with PROTO_INTERFACE method calls --- protocols/Gadu-Gadu/src/filetransfer.cpp | 8 -------- protocols/Gadu-Gadu/src/gg_proto.h | 2 -- 2 files changed, 10 deletions(-) (limited to 'protocols/Gadu-Gadu/src') diff --git a/protocols/Gadu-Gadu/src/filetransfer.cpp b/protocols/Gadu-Gadu/src/filetransfer.cpp index 65e3ce7a1b..4d95ef5828 100644 --- a/protocols/Gadu-Gadu/src/filetransfer.cpp +++ b/protocols/Gadu-Gadu/src/filetransfer.cpp @@ -924,14 +924,6 @@ int GaduProto::FileDeny(MCONTACT, HANDLE hTransfer, const wchar_t *) return dccfiledeny(hTransfer); } -//////////////////////////////////////////////////////////// -// Called when received an file -// -int GaduProto::RecvFile(MCONTACT hContact, PROTORECVFILE* pre) -{ - return Proto_RecvFile(hContact, pre); -} - //////////////////////////////////////////////////////////// // Called when user sends a file // diff --git a/protocols/Gadu-Gadu/src/gg_proto.h b/protocols/Gadu-Gadu/src/gg_proto.h index f342797018..543c936ea4 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.h +++ b/protocols/Gadu-Gadu/src/gg_proto.h @@ -45,8 +45,6 @@ struct GaduProto : public PROTO<GaduProto> virtual HWND __cdecl SearchAdvanced(HWND owner); virtual HWND __cdecl CreateExtendedSearchUI(HWND owner); - virtual int __cdecl RecvFile(MCONTACT hContact, PROTORECVFILE*); - virtual HANDLE __cdecl SendFile(MCONTACT hContact, const wchar_t* szDescription, wchar_t** ppszFiles); virtual int __cdecl SendMsg(MCONTACT hContact, int flags, const char* msg); -- cgit v1.2.3