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/Yahoo/src/proto.cpp | 56 ------------------------------------------- 1 file changed, 56 deletions(-) (limited to 'protocols/Yahoo/src/proto.cpp') diff --git a/protocols/Yahoo/src/proto.cpp b/protocols/Yahoo/src/proto.cpp index 10ec6ed568..cac60ea904 100644 --- a/protocols/Yahoo/src/proto.cpp +++ b/protocols/Yahoo/src/proto.cpp @@ -335,30 +335,6 @@ int __cdecl CYahooProto::GetInfo(MCONTACT hContact, int /*infoType*/ ) return 0; } -//////////////////////////////////////////////////////////////////////////////////////// -// SearchByEmail - searches the contact by its e-mail - -HANDLE __cdecl CYahooProto::SearchByEmail( const PROTOCHAR* email ) -{ - return 0; -} - -//////////////////////////////////////////////////////////////////////////////////////// -// SearchByName - searches the contact by its first or last name, or by a nickname - -HANDLE __cdecl CYahooProto::SearchByName( const PROTOCHAR* nick, const PROTOCHAR* firstName, const PROTOCHAR* lastName ) -{ - return 0; -} - -//////////////////////////////////////////////////////////////////////////////////////// -// RecvContacts - -int __cdecl CYahooProto::RecvContacts(MCONTACT/*hContact*/, PROTORECVEVENT*) -{ - return 1; -} - //////////////////////////////////////////////////////////////////////////////////////// // RecvFile @@ -369,30 +345,6 @@ int __cdecl CYahooProto::RecvFile(MCONTACT hContact, PROTORECVFILET* evt) return Proto_RecvFile(hContact, evt); } -//////////////////////////////////////////////////////////////////////////////////////// -// RecvUrl - -int __cdecl CYahooProto::RecvUrl(MCONTACT/*hContact*/, PROTORECVEVENT*) -{ - return 1; -} - -//////////////////////////////////////////////////////////////////////////////////////// -// SendContacts - -int __cdecl CYahooProto::SendContacts(MCONTACT/*hContact*/, int /*flags*/, int /*nContacts*/, MCONTACT* /*hContactsList*/) -{ - return 1; -} - -//////////////////////////////////////////////////////////////////////////////////////// -// SendUrl - -int __cdecl CYahooProto::SendUrl(MCONTACT/*hContact*/, int /*flags*/, const char* /*url*/) -{ - return 1; -} - //////////////////////////////////////////////////////////////////////////////////////// // SetApparentMode - sets the visibility status @@ -589,14 +541,6 @@ HANDLE __cdecl CYahooProto::GetAwayMsg(MCONTACT hContact) return 0; // Failure } -//////////////////////////////////////////////////////////////////////////////////////// -// PSR_AWAYMSG - -int __cdecl CYahooProto::RecvAwayMsg(MCONTACT/*hContact*/, int /*statusMode*/, PROTORECVEVENT*) -{ - return 1; -} - //////////////////////////////////////////////////////////////////////////////////////// // SetAwayMsg - sets the away status message -- cgit v1.2.3