From 68d3fd47bb9b75e65859d14199ffee01f16ac9a7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 20:47:51 +0000 Subject: HCONTACT is not needed anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Twitter/src/stubs.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'protocols/Twitter/src/stubs.cpp') diff --git a/protocols/Twitter/src/stubs.cpp b/protocols/Twitter/src/stubs.cpp index 9b8fc7deea..a959f6d487 100644 --- a/protocols/Twitter/src/stubs.cpp +++ b/protocols/Twitter/src/stubs.cpp @@ -17,7 +17,7 @@ along with this program. If not, see . #include "proto.h" -HCONTACT TwitterProto::AddToListByEvent(int flags,int iContact,HANDLE hDbEvent) +MCONTACT TwitterProto::AddToListByEvent(int flags,int iContact,HANDLE hDbEvent) { return NULL; } @@ -32,12 +32,12 @@ int TwitterProto::AuthDeny(HANDLE hDbEvent,const TCHAR *reason) return 1; } -int TwitterProto::AuthRecv(HCONTACT hContact,PROTORECVEVENT *) +int TwitterProto::AuthRecv(MCONTACT hContact,PROTORECVEVENT *) { return 1; } -int TwitterProto::AuthRequest(HCONTACT hContact,const TCHAR *message) +int TwitterProto::AuthRequest(MCONTACT hContact,const TCHAR *message) { return 1; } @@ -48,17 +48,17 @@ HANDLE TwitterProto::ChangeInfo(int type,void *info_data) return NULL; } -HANDLE TwitterProto::FileAllow(HCONTACT hContact,HANDLE hTransfer,const TCHAR *path) +HANDLE TwitterProto::FileAllow(MCONTACT hContact,HANDLE hTransfer,const TCHAR *path) { return NULL; } -int TwitterProto::FileCancel(HCONTACT hContact,HANDLE hTransfer) +int TwitterProto::FileCancel(MCONTACT hContact,HANDLE hTransfer) { return 1; } -int TwitterProto::FileDeny(HCONTACT hContact,HANDLE hTransfer,const TCHAR *reason) +int TwitterProto::FileDeny(MCONTACT hContact,HANDLE hTransfer,const TCHAR *reason) { return 1; } @@ -83,42 +83,42 @@ HWND TwitterProto::CreateExtendedSearchUI(HWND owner) return NULL; } -int TwitterProto::RecvContacts(HCONTACT hContact,PROTORECVEVENT *) +int TwitterProto::RecvContacts(MCONTACT hContact,PROTORECVEVENT *) { return 1; } -int TwitterProto::RecvFile(HCONTACT hContact,PROTORECVFILET *) +int TwitterProto::RecvFile(MCONTACT hContact,PROTORECVFILET *) { return 1; } -int TwitterProto::RecvUrl(HCONTACT hContact,PROTORECVEVENT *) +int TwitterProto::RecvUrl(MCONTACT hContact,PROTORECVEVENT *) { return 1; } -int TwitterProto::SendContacts(HCONTACT hContact, int flags, int nContacts, HCONTACT *hContactsList) +int TwitterProto::SendContacts(MCONTACT hContact, int flags, int nContacts, MCONTACT *hContactsList) { return 1; } -HANDLE TwitterProto::SendFile(HCONTACT hContact,const TCHAR *desc, TCHAR **files) +HANDLE TwitterProto::SendFile(MCONTACT hContact,const TCHAR *desc, TCHAR **files) { return NULL; } -int TwitterProto::SendUrl(HCONTACT hContact,int flags,const char *url) +int TwitterProto::SendUrl(MCONTACT hContact,int flags,const char *url) { return 1; } -int TwitterProto::SetApparentMode(HCONTACT hContact,int mode) +int TwitterProto::SetApparentMode(MCONTACT hContact,int mode) { return 1; } -int TwitterProto::RecvAwayMsg(HCONTACT hContact,int mode,PROTORECVEVENT *evt) +int TwitterProto::RecvAwayMsg(MCONTACT hContact,int mode,PROTORECVEVENT *evt) { return 1; } @@ -128,7 +128,7 @@ int TwitterProto::SetAwayMsg(int status,const TCHAR *msg) return 1; } -int TwitterProto::UserIsTyping(HCONTACT hContact,int type) +int TwitterProto::UserIsTyping(MCONTACT hContact,int type) { return 1; } \ No newline at end of file -- cgit v1.2.3