From 85c0b6a96f366bdf0ca334ee7cb1877fb3f2288c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 16 Jan 2015 17:49:54 +0000 Subject: MEVENT - the strict type for events, they are not HANDLE anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@11866 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Twitter/src/proto.h | 6 +++--- protocols/Twitter/src/stubs.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/Twitter') diff --git a/protocols/Twitter/src/proto.h b/protocols/Twitter/src/proto.h index e19d1578ad..865ed10b17 100644 --- a/protocols/Twitter/src/proto.h +++ b/protocols/Twitter/src/proto.h @@ -33,10 +33,10 @@ public: //PROTO_INTERFACE virtual MCONTACT __cdecl AddToList(int,PROTOSEARCHRESULT *); - virtual MCONTACT __cdecl AddToListByEvent(int,int,HANDLE); + virtual MCONTACT __cdecl AddToListByEvent(int,int,MEVENT); - virtual int __cdecl Authorize(HANDLE); - virtual int __cdecl AuthDeny(HANDLE,const TCHAR *); + virtual int __cdecl Authorize(MEVENT); + virtual int __cdecl AuthDeny(MEVENT,const TCHAR *); virtual int __cdecl AuthRecv(MCONTACT, PROTORECVEVENT *); virtual int __cdecl AuthRequest(MCONTACT, const TCHAR *); diff --git a/protocols/Twitter/src/stubs.cpp b/protocols/Twitter/src/stubs.cpp index 7a61276701..38f7b93288 100644 --- a/protocols/Twitter/src/stubs.cpp +++ b/protocols/Twitter/src/stubs.cpp @@ -18,17 +18,17 @@ along with this program. If not, see . #include "stdafx.h" #include "proto.h" -MCONTACT TwitterProto::AddToListByEvent(int flags,int iContact,HANDLE hDbEvent) +MCONTACT TwitterProto::AddToListByEvent(int flags,int iContact,MEVENT hDbEvent) { return NULL; } -int TwitterProto::Authorize(HANDLE hDbEvent) +int TwitterProto::Authorize(MEVENT hDbEvent) { return 1; } -int TwitterProto::AuthDeny(HANDLE hDbEvent,const TCHAR *reason) +int TwitterProto::AuthDeny(MEVENT hDbEvent,const TCHAR *reason) { return 1; } -- cgit v1.2.3