From 12d71cc476065d21cc53321cf5ea57e29b4cc124 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 22 Mar 2015 23:05:16 +0000 Subject: - PROTO_INTERFACE got the default implementation; - all unneeded stubs removed from all protocols git-svn-id: http://svn.miranda-ng.org/main/trunk@12481 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_proto.cpp | 73 ----------------------------------------- 1 file changed, 73 deletions(-) (limited to 'protocols/MSN/src/msn_proto.cpp') diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp index b21c71a683..ab752712b4 100644 --- a/protocols/MSN/src/msn_proto.cpp +++ b/protocols/MSN/src/msn_proto.cpp @@ -448,22 +448,6 @@ HANDLE __cdecl CMsnProto::SearchByEmail(const PROTOCHAR* email) return SearchBasic(email); } - -HANDLE __cdecl CMsnProto::SearchByName(const PROTOCHAR*, const PROTOCHAR*, const PROTOCHAR*) -{ - return NULL; -} - -HWND __cdecl CMsnProto::SearchAdvanced(HWND) -{ - return NULL; -} - -HWND __cdecl CMsnProto::CreateExtendedSearchUI(HWND) -{ - return NULL; -} - ///////////////////////////////////////////////////////////////////////////////////////// // MsnFileAllow - starts the file transfer @@ -678,31 +662,6 @@ DWORD_PTR __cdecl CMsnProto::GetCaps(int type, MCONTACT) return 0; } -///////////////////////////////////////////////////////////////////////////////////////// -// MsnGetInfo - nothing to do, cause we cannot obtain information from the server - -int __cdecl CMsnProto::GetInfo(MCONTACT, int) -{ - return 1; -} - -//////////////////////////////////////////////////////////////////////////////////////// -// RecvContacts - -int __cdecl CMsnProto::RecvContacts(MCONTACT, PROTORECVEVENT*) -{ - return 1; -} - - -///////////////////////////////////////////////////////////////////////////////////////// -// MsnRecvFile - creates a database event from the file request been received - -int __cdecl CMsnProto::RecvFile(MCONTACT hContact, PROTOFILEEVENT* evt) -{ - return Proto_RecvFile(hContact, evt); -} - ///////////////////////////////////////////////////////////////////////////////////////// // MsnRecvMessage - creates a database event from the message been received @@ -717,22 +676,6 @@ int __cdecl CMsnProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT* pre) return Proto_RecvMessage(hContact, pre); } -//////////////////////////////////////////////////////////////////////////////////////// -// RecvUrl - -int __cdecl CMsnProto::RecvUrl(MCONTACT, PROTORECVEVENT*) -{ - return 1; -} - -//////////////////////////////////////////////////////////////////////////////////////// -// SendContacts - -int __cdecl CMsnProto::SendContacts(MCONTACT, int, int, MCONTACT*) -{ - return 1; -} - ///////////////////////////////////////////////////////////////////////////////////////// // MsnSendFile - initiates a file transfer @@ -941,14 +884,6 @@ int __cdecl CMsnProto::SetAwayMsg(int status, const TCHAR* msg) return 0; } -//////////////////////////////////////////////////////////////////////////////////////// -// PSR_AWAYMSG - -int __cdecl CMsnProto::RecvAwayMsg(MCONTACT, int, PROTORECVEVENT*) -{ - return 1; -} - ///////////////////////////////////////////////////////////////////////////////////////// // MsnSetStatus - set the plugin's connection status @@ -1040,14 +975,6 @@ int __cdecl CMsnProto::UserIsTyping(MCONTACT hContact, int type) return 0; } -//////////////////////////////////////////////////////////////////////////////////////// -// SendUrl - -int __cdecl CMsnProto::SendUrl(MCONTACT, int, const char*) -{ - return 1; -} - ///////////////////////////////////////////////////////////////////////////////////////// // MsnSetApparentMode - controls contact visibility -- cgit v1.2.3