summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-16 17:49:54 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-16 17:49:54 +0000
commit85c0b6a96f366bdf0ca334ee7cb1877fb3f2288c (patch)
treefe07935255b7432938f282419c3ab1378524c02f /protocols/Omegle/src
parent8a09c895c4cd0e9cc87c38181ae2913dba77c30b (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/Omegle/src')
-rw-r--r--protocols/Omegle/src/proto.h6
-rw-r--r--protocols/Omegle/src/stubs.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Omegle/src/proto.h b/protocols/Omegle/src/proto.h
index 09fcbdc548..6c799f4328 100644
--- a/protocols/Omegle/src/proto.h
+++ b/protocols/Omegle/src/proto.h
@@ -45,10 +45,10 @@ public:
// PROTO_INTERFACE
virtual MCONTACT __cdecl AddToList( int flags, PROTOSEARCHRESULT* psr );
- virtual MCONTACT __cdecl AddToListByEvent( int flags, int iContact, HANDLE hDbEvent );
+ virtual MCONTACT __cdecl AddToListByEvent( int flags, int iContact, MEVENT hDbEvent );
- virtual int __cdecl Authorize( HANDLE hDbEvent );
- virtual int __cdecl AuthDeny( HANDLE hDbEvent, const PROTOCHAR* szReason );
+ virtual int __cdecl Authorize( MEVENT hDbEvent );
+ virtual int __cdecl AuthDeny( MEVENT hDbEvent, const PROTOCHAR* szReason );
virtual int __cdecl AuthRecv( MCONTACT hContact, PROTORECVEVENT* );
virtual int __cdecl AuthRequest( MCONTACT hContact, const PROTOCHAR* szMessage );
diff --git a/protocols/Omegle/src/stubs.cpp b/protocols/Omegle/src/stubs.cpp
index f325d90c0e..90683d9cd0 100644
--- a/protocols/Omegle/src/stubs.cpp
+++ b/protocols/Omegle/src/stubs.cpp
@@ -27,17 +27,17 @@ MCONTACT OmegleProto::AddToList(int flags, PROTOSEARCHRESULT* psr)
return NULL;
};
-MCONTACT OmegleProto::AddToListByEvent(int flags,int iContact,HANDLE hDbEvent)
+MCONTACT OmegleProto::AddToListByEvent(int flags,int iContact,MEVENT hDbEvent)
{
return NULL;
};
-int OmegleProto::Authorize(HANDLE hDbEvent)
+int OmegleProto::Authorize(MEVENT hDbEvent)
{
return 1;
}
-int OmegleProto::AuthDeny(HANDLE hDbEvent,const PROTOCHAR *reason)
+int OmegleProto::AuthDeny(MEVENT hDbEvent,const PROTOCHAR *reason)
{
return 1;
}