From 970946fb23d2555a6d08cd0c5c065d7fd4bee322 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 16 Feb 2014 21:07:15 +0000 Subject: PS_CHANGEINFO is never called, and therefore exterminated git-svn-id: http://svn.miranda-ng.org/main/trunk@8147 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/AimOscar/src/proto.cpp | 8 -------- protocols/AimOscar/src/proto.h | 2 -- protocols/FacebookRM/src/proto.h | 2 -- protocols/FacebookRM/src/stubs.cpp | 6 ------ protocols/Gadu-Gadu/src/gg_proto.cpp | 1 - protocols/Gadu-Gadu/src/gg_proto.h | 2 -- protocols/IRCG/src/irc.h | 2 -- protocols/IRCG/src/ircproto.cpp | 8 -------- protocols/IcqOscarJ/src/icq_proto.cpp | 9 --------- protocols/IcqOscarJ/src/icq_proto.h | 2 -- protocols/JabberG/src/jabber_proto.cpp | 8 -------- protocols/JabberG/src/jabber_proto.h | 2 -- protocols/MRA/src/MraProto.cpp | 1 - protocols/MRA/src/MraProto.h | 2 -- protocols/MSN/src/msn_proto.cpp | 8 -------- protocols/MSN/src/msn_proto.h | 2 -- protocols/Omegle/src/proto.h | 2 -- protocols/Omegle/src/stubs.cpp | 5 ----- protocols/Skype/src/skype_proto.cpp | 2 -- protocols/Skype/src/skype_proto.h | 2 -- protocols/Tlen/src/tlen.h | 2 -- protocols/Tlen/src/tlen_svc.cpp | 6 ------ protocols/Twitter/src/proto.h | 2 -- protocols/Twitter/src/stubs.cpp | 6 ------ protocols/VKontakte/src/vk_proto.cpp | 12 ++---------- protocols/VKontakte/src/vk_proto.h | 2 -- protocols/WhatsApp/src/proto.h | 2 -- protocols/Yahoo/src/proto.cpp | 8 -------- protocols/Yahoo/src/proto.h | 2 -- 29 files changed, 2 insertions(+), 116 deletions(-) (limited to 'protocols') diff --git a/protocols/AimOscar/src/proto.cpp b/protocols/AimOscar/src/proto.cpp index fb51b7e3b9..d492744908 100644 --- a/protocols/AimOscar/src/proto.cpp +++ b/protocols/AimOscar/src/proto.cpp @@ -185,14 +185,6 @@ int __cdecl CAimProto::AuthRequest(MCONTACT hContact, const TCHAR* szMessage) return 0; } -//////////////////////////////////////////////////////////////////////////////////////// -// ChangeInfo - -HANDLE __cdecl CAimProto::ChangeInfo(int iInfoType, void* pInfoData) -{ - return NULL; -} - //////////////////////////////////////////////////////////////////////////////////////// // FileAllow - starts a file transfer diff --git a/protocols/AimOscar/src/proto.h b/protocols/AimOscar/src/proto.h index 9a59176ab0..382d600348 100644 --- a/protocols/AimOscar/src/proto.h +++ b/protocols/AimOscar/src/proto.h @@ -36,8 +36,6 @@ struct CAimProto : public PROTO virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT* ); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR* szMessage ); - virtual HANDLE __cdecl ChangeInfo( int iInfoType, void* pInfoData ); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szPath ); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer ); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szReason ); diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h index 27c29883ca..cf01d962d5 100644 --- a/protocols/FacebookRM/src/proto.h +++ b/protocols/FacebookRM/src/proto.h @@ -70,8 +70,6 @@ public: virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl AuthRequest(MCONTACT hContact, const PROTOCHAR* szMessage); - virtual HANDLE __cdecl ChangeInfo(int iInfoType, void* pInfoData); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szPath); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szReason); diff --git a/protocols/FacebookRM/src/stubs.cpp b/protocols/FacebookRM/src/stubs.cpp index 8329a78980..47553993e6 100644 --- a/protocols/FacebookRM/src/stubs.cpp +++ b/protocols/FacebookRM/src/stubs.cpp @@ -32,12 +32,6 @@ int FacebookProto::AuthRecv(MCONTACT hContact,PROTORECVEVENT *) return 1; } -HANDLE FacebookProto::ChangeInfo(int type,void *info_data) -{ - MessageBoxA(0,"ChangeInfo","",0); - return NULL; -} - HANDLE FacebookProto::FileAllow(MCONTACT hContact,HANDLE hTransfer,const PROTOCHAR *path) { return NULL; diff --git a/protocols/Gadu-Gadu/src/gg_proto.cpp b/protocols/Gadu-Gadu/src/gg_proto.cpp index e4258d97c8..5b6b7f43c4 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.cpp +++ b/protocols/Gadu-Gadu/src/gg_proto.cpp @@ -129,7 +129,6 @@ int GGPROTO::Authorize(HANDLE hDbEvent) { return 1; } int GGPROTO::AuthDeny(HANDLE hDbEvent, const TCHAR *szReason) { return 1; } int GGPROTO::AuthRecv(MCONTACT hContact, PROTORECVEVENT *pre) { return 1; } int GGPROTO::AuthRequest(MCONTACT hContact, const TCHAR *szMessage) { return 1; } -HANDLE GGPROTO::ChangeInfo(int iInfoType, void *pInfoData) { return NULL; } int GGPROTO::FileResume(HANDLE hTransfer, int *action, const PROTOCHAR** szFilename) { return 1; } HANDLE GGPROTO::SearchByEmail(const PROTOCHAR *email) { return NULL; } int GGPROTO::RecvContacts(MCONTACT hContact, PROTORECVEVENT *pre) { return 1; } diff --git a/protocols/Gadu-Gadu/src/gg_proto.h b/protocols/Gadu-Gadu/src/gg_proto.h index fc34dd0aab..4629a06824 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.h +++ b/protocols/Gadu-Gadu/src/gg_proto.h @@ -39,8 +39,6 @@ struct GGPROTO : public PROTO virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT* ); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR* szMessage ); - virtual HANDLE __cdecl ChangeInfo( int iInfoType, void* pInfoData ); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR* szPath ); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer ); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const TCHAR* szReason ); diff --git a/protocols/IRCG/src/irc.h b/protocols/IRCG/src/irc.h index bb6f6d7a70..6ba49149e2 100644 --- a/protocols/IRCG/src/irc.h +++ b/protocols/IRCG/src/irc.h @@ -222,8 +222,6 @@ struct CIrcProto : public PROTO virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR *szMessage); - virtual HANDLE __cdecl ChangeInfo( int iInfoType, void *pInfoData); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szPath); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer ); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szReason); diff --git a/protocols/IRCG/src/ircproto.cpp b/protocols/IRCG/src/ircproto.cpp index de66eb369b..5a5f910aea 100644 --- a/protocols/IRCG/src/ircproto.cpp +++ b/protocols/IRCG/src/ircproto.cpp @@ -396,14 +396,6 @@ int __cdecl CIrcProto::AuthRequest(MCONTACT, const TCHAR*) return 1; } -//////////////////////////////////////////////////////////////////////////////////////// -// ChangeInfo - -HANDLE __cdecl CIrcProto::ChangeInfo(int, void*) -{ - return NULL; -} - //////////////////////////////////////////////////////////////////////////////////////// // FileAllow - starts a file transfer diff --git a/protocols/IcqOscarJ/src/icq_proto.cpp b/protocols/IcqOscarJ/src/icq_proto.cpp index e5072dd48f..a42f46a33e 100644 --- a/protocols/IcqOscarJ/src/icq_proto.cpp +++ b/protocols/IcqOscarJ/src/icq_proto.cpp @@ -503,15 +503,6 @@ int __cdecl CIcqProto::AuthRequest(MCONTACT hContact, const TCHAR* szMessage) } -//////////////////////////////////////////////////////////////////////////////////////// -// ChangeInfo - -HANDLE __cdecl CIcqProto::ChangeInfo(int iInfoType, void* pInfoData) -{ - return NULL; -} - - //////////////////////////////////////////////////////////////////////////////////////// // PS_FileAllow - starts a file transfer diff --git a/protocols/IcqOscarJ/src/icq_proto.h b/protocols/IcqOscarJ/src/icq_proto.h index 5b412c3390..cc4b6a8e4b 100644 --- a/protocols/IcqOscarJ/src/icq_proto.h +++ b/protocols/IcqOscarJ/src/icq_proto.h @@ -62,8 +62,6 @@ struct CIcqProto : public PROTO virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR *szMessage); - virtual HANDLE __cdecl ChangeInfo( int iInfoType, void *pInfoData); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szPath); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szReason); diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 4c88c7ca4b..d333351ebd 100644 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -505,14 +505,6 @@ int __cdecl CJabberProto::AuthRequest(MCONTACT, const TCHAR*) return 1; } -//////////////////////////////////////////////////////////////////////////////////////// -// ChangeInfo - -HANDLE __cdecl CJabberProto::ChangeInfo(int /*iInfoType*/, void*) -{ - return NULL; -} - //////////////////////////////////////////////////////////////////////////////////////// // JabberFileAllow - starts a file transfer diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h index 84533eb9da..2c384c2c9c 100644 --- a/protocols/JabberG/src/jabber_proto.h +++ b/protocols/JabberG/src/jabber_proto.h @@ -90,8 +90,6 @@ struct CJabberProto : public PROTO, public IJabberInterface virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR *szMessage); - virtual HANDLE __cdecl ChangeInfo(int iInfoType, void* pInfoData); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szPath); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szReason); diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp index 0bb77b16bd..13e7f9f666 100644 --- a/protocols/MRA/src/MraProto.cpp +++ b/protocols/MRA/src/MraProto.cpp @@ -184,7 +184,6 @@ MCONTACT CMraProto::AddToListByEvent(int flags, int iContact, HANDLE hDbEvent) ///////////////////////////////////////////////////////////////////////////////////////// // Stubs -HANDLE CMraProto::ChangeInfo(int, void*) { return NULL; } int CMraProto::FileResume(HANDLE, int*, const TCHAR**) { return 1; } int CMraProto::RecvAwayMsg(MCONTACT, int, PROTORECVEVENT*) { return 1; } int CMraProto::RecvUrl(MCONTACT, PROTORECVEVENT*) { return 1; } diff --git a/protocols/MRA/src/MraProto.h b/protocols/MRA/src/MraProto.h index 9377aafc9b..c5d642b46c 100644 --- a/protocols/MRA/src/MraProto.h +++ b/protocols/MRA/src/MraProto.h @@ -46,8 +46,6 @@ struct CMraProto : public PROTO virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR* szMessage); - virtual HANDLE __cdecl ChangeInfo(int iInfoType, void* pInfoData); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR* szPath); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const TCHAR* szReason); diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp index 292bfaf8c0..b46434f68e 100644 --- a/protocols/MSN/src/msn_proto.cpp +++ b/protocols/MSN/src/msn_proto.cpp @@ -314,14 +314,6 @@ int __cdecl CMsnProto::AuthRequest(MCONTACT hContact, const TCHAR* szMessage) return 1; } -//////////////////////////////////////////////////////////////////////////////////////// -// ChangeInfo - -HANDLE __cdecl CMsnProto::ChangeInfo(int iInfoType, void* pInfoData) -{ - return NULL; -} - ///////////////////////////////////////////////////////////////////////////////////////// // MsnAuthAllow - called after successful authorization diff --git a/protocols/MSN/src/msn_proto.h b/protocols/MSN/src/msn_proto.h index 74d758dcbf..540a889f2e 100644 --- a/protocols/MSN/src/msn_proto.h +++ b/protocols/MSN/src/msn_proto.h @@ -40,8 +40,6 @@ struct CMsnProto : public PROTO virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR* szMessage); - virtual HANDLE __cdecl ChangeInfo(int iInfoType, void* pInfoData); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szPath); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szReason); diff --git a/protocols/Omegle/src/proto.h b/protocols/Omegle/src/proto.h index 7e8ce70cad..09fcbdc548 100644 --- a/protocols/Omegle/src/proto.h +++ b/protocols/Omegle/src/proto.h @@ -52,8 +52,6 @@ public: virtual int __cdecl AuthRecv( MCONTACT hContact, PROTORECVEVENT* ); virtual int __cdecl AuthRequest( MCONTACT hContact, const PROTOCHAR* szMessage ); - virtual HANDLE __cdecl ChangeInfo( int iInfoType, void* pInfoData ); - virtual HANDLE __cdecl FileAllow( MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szPath ); virtual int __cdecl FileCancel( MCONTACT hContact, HANDLE hTransfer ); virtual int __cdecl FileDeny( MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szReason ); diff --git a/protocols/Omegle/src/stubs.cpp b/protocols/Omegle/src/stubs.cpp index 897ab43de3..2e0dc3e3e0 100644 --- a/protocols/Omegle/src/stubs.cpp +++ b/protocols/Omegle/src/stubs.cpp @@ -52,11 +52,6 @@ int OmegleProto::AuthRequest(MCONTACT hContact,const PROTOCHAR *message) return 1; } -HANDLE OmegleProto::ChangeInfo(int type,void *info_data) -{ - return NULL; -} - HANDLE OmegleProto::FileAllow(MCONTACT hContact,HANDLE hTransfer,const PROTOCHAR *path) { return NULL; diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index 204f446c29..8931a48498 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -142,8 +142,6 @@ int __cdecl CSkypeProto::AuthRequest(MCONTACT hContact, const TCHAR* szMessage) return 1; } -HANDLE __cdecl CSkypeProto::ChangeInfo( int iInfoType, void* pInfoData ) { return 0; } - HANDLE __cdecl CSkypeProto::FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR* szPath ) { uint oid = (uint)hTransfer; diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index 3e009ea67b..5f6bb13e2d 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -187,8 +187,6 @@ public: virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT* ); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR* szMessage ); - virtual HANDLE __cdecl ChangeInfo( int iInfoType, void* pInfoData ); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR* szPath ); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer ); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const TCHAR* szReason ); diff --git a/protocols/Tlen/src/tlen.h b/protocols/Tlen/src/tlen.h index b914fbc6f3..652e706348 100644 --- a/protocols/Tlen/src/tlen.h +++ b/protocols/Tlen/src/tlen.h @@ -226,8 +226,6 @@ struct TlenProtocol : public PROTO virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl AuthRequest(MCONTACT hContact, const PROTOCHAR* szMessage); - virtual HANDLE __cdecl ChangeInfo(int iInfoType, void* pInfoData); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szPath); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szReason); diff --git a/protocols/Tlen/src/tlen_svc.cpp b/protocols/Tlen/src/tlen_svc.cpp index ef41abccd4..6221fb5032 100644 --- a/protocols/Tlen/src/tlen_svc.cpp +++ b/protocols/Tlen/src/tlen_svc.cpp @@ -1210,12 +1210,6 @@ int TlenProtocol::AuthRequest(MCONTACT hContact, const PROTOCHAR* szMessage) return 1; } -HANDLE TlenProtocol::ChangeInfo(int iInfoType, void* pInfoData) -{ - return NULL; -} - - int TlenProtocol::RecvContacts(MCONTACT hContact, PROTORECVEVENT* evt) { return 1; diff --git a/protocols/Twitter/src/proto.h b/protocols/Twitter/src/proto.h index 7ad5188626..659e2b41d5 100644 --- a/protocols/Twitter/src/proto.h +++ b/protocols/Twitter/src/proto.h @@ -44,8 +44,6 @@ public: virtual int __cdecl AuthRecv(MCONTACT, PROTORECVEVENT *); virtual int __cdecl AuthRequest(MCONTACT, const TCHAR *); - virtual HANDLE __cdecl ChangeInfo(int,void *); - virtual HANDLE __cdecl FileAllow(MCONTACT, HANDLE, const TCHAR *); virtual int __cdecl FileCancel(MCONTACT, HANDLE); virtual int __cdecl FileDeny(MCONTACT, HANDLE, const TCHAR *); diff --git a/protocols/Twitter/src/stubs.cpp b/protocols/Twitter/src/stubs.cpp index a959f6d487..2fc9aebacc 100644 --- a/protocols/Twitter/src/stubs.cpp +++ b/protocols/Twitter/src/stubs.cpp @@ -42,12 +42,6 @@ int TwitterProto::AuthRequest(MCONTACT hContact,const TCHAR *message) return 1; } -HANDLE TwitterProto::ChangeInfo(int type,void *info_data) -{ - MessageBoxA(0,"ChangeInfo","",0); - return NULL; -} - HANDLE TwitterProto::FileAllow(MCONTACT hContact,HANDLE hTransfer,const TCHAR *path) { return NULL; diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index f1697284c2..05a95e68b8 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -110,10 +110,10 @@ DWORD_PTR CVkProto::GetCaps(int type, MCONTACT hContact) return PF1_IM | PF1_CHAT | PF1_SERVERCLIST | PF1_AUTHREQ | PF1_BASICSEARCH | PF1_SEARCHBYEMAIL | PF1_SEARCHBYNAME | PF1_MODEMSG; case PFLAGNUM_2: - return PF2_ONLINE | PF2_INVISIBLE | PF2_ONTHEPHONE | PF2_IDLE; // | PF2_SHORTAWAY; + return PF2_ONLINE | PF2_INVISIBLE | PF2_ONTHEPHONE | PF2_IDLE; case PFLAGNUM_3: - return PF2_ONLINE; // | PF2_SHORTAWAY; + return PF2_ONLINE; case PFLAGNUM_4: return PF4_NOCUSTOMAUTH | PF4_FORCEADDED | PF4_IMSENDUTF | PF4_AVATARS | PF4_SUPPORTTYPING | PF4_NOAUTHDENYREASON | PF4_IMSENDOFFLINE; @@ -285,13 +285,11 @@ int CVkProto::AuthRequest(MCONTACT hContact,const PROTOCHAR *message) int CVkProto::Authorize(HANDLE hDbEvent) { - //if (!hDbEvent) return 1; } int CVkProto::AuthDeny(HANDLE hDbEvent, const PROTOCHAR *reason) { - //if (!hDbEvent || isOffline()) return 1; } @@ -310,12 +308,6 @@ int CVkProto::AuthRecv(MCONTACT hContact,PROTORECVEVENT *) return 1; } -HANDLE CVkProto::ChangeInfo(int type,void *info_data) -{ - MessageBoxA(0,"ChangeInfo","",0); - return NULL; -} - HANDLE CVkProto::FileAllow(MCONTACT hContact,HANDLE hTransfer,const PROTOCHAR *path) { return NULL; diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h index 34b34b8f59..8c06d8ee84 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -124,8 +124,6 @@ struct CVkProto : public PROTO virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR *szMessage); - virtual HANDLE __cdecl ChangeInfo(int iInfoType, void* pInfoData); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szPath); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szReason); diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index 4e0d36db42..aa8483bd02 100644 --- a/protocols/WhatsApp/src/proto.h +++ b/protocols/WhatsApp/src/proto.h @@ -40,8 +40,6 @@ public: virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT* ) { return 1; } virtual int __cdecl AuthRequest(MCONTACT hContact, const PROTOCHAR* szMessage ); - virtual HANDLE __cdecl ChangeInfo( int iInfoType, void* pInfoData ) { return NULL; } - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szPath ) { return NULL; } virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer ) { return 1; } virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szReason ) { return 1; } diff --git a/protocols/Yahoo/src/proto.cpp b/protocols/Yahoo/src/proto.cpp index 4987c50b34..68b80dbb35 100644 --- a/protocols/Yahoo/src/proto.cpp +++ b/protocols/Yahoo/src/proto.cpp @@ -288,14 +288,6 @@ int __cdecl CYahooProto::AuthRequest(MCONTACT hContact, const TCHAR* msg ) return 1; // Failure } -//////////////////////////////////////////////////////////////////////////////////////// -// ChangeInfo - -HANDLE __cdecl CYahooProto::ChangeInfo( int /*iInfoType*/, void* ) -{ - return NULL; -} - //////////////////////////////////////////////////////////////////////////////////////// // GetCaps - return protocol capabilities bits diff --git a/protocols/Yahoo/src/proto.h b/protocols/Yahoo/src/proto.h index d01daf5144..8b5616e462 100644 --- a/protocols/Yahoo/src/proto.h +++ b/protocols/Yahoo/src/proto.h @@ -33,8 +33,6 @@ struct CYahooProto : public PROTO virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT* ); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR* szMessage ); - virtual HANDLE __cdecl ChangeInfo( int iInfoType, void* pInfoData ); - virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szPath ); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer ); virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szReason ); -- cgit v1.2.3