diff options
author | George Hazan <george.hazan@gmail.com> | 2015-01-16 17:49:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-01-16 17:49:54 +0000 |
commit | 85c0b6a96f366bdf0ca334ee7cb1877fb3f2288c (patch) | |
tree | fe07935255b7432938f282419c3ab1378524c02f /protocols/Twitter | |
parent | 8a09c895c4cd0e9cc87c38181ae2913dba77c30b (diff) |
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
Diffstat (limited to 'protocols/Twitter')
-rw-r--r-- | protocols/Twitter/src/proto.h | 6 | ||||
-rw-r--r-- | protocols/Twitter/src/stubs.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
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 <http://www.gnu.org/licenses/>. #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;
}
|