diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-11 21:14:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-11 21:14:01 +0000 |
commit | 2ddaa0bcf64f3c1cd8e6bc7c16e4f009d0ff5b93 (patch) | |
tree | 220c6ef09cca855d2d1715f9c620e5d9a5e1a146 /protocols/VKontakte/src/vk_proto.cpp | |
parent | 9b8ec8aeeb593644b053dc491818f37587293eae (diff) |
VK: message reading
git-svn-id: http://svn.miranda-ng.org/main/trunk@6451 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index c544fbd5f1..78ca6fbdc4 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -62,6 +62,8 @@ int CVkProto::OnPreShutdown(WPARAM wParam, LPARAM lParam) {
m_bTerminated = true;
SetEvent(m_evRequestsQueue);
+ if (m_hPollingThread)
+ TerminateThread(m_hPollingThread, 0);
return 0;
}
@@ -99,6 +101,14 @@ DWORD_PTR CVkProto::GetCaps(int type, HANDLE hContact) //////////////////////////////////////////////////////////////////////////////
+int CVkProto::RecvMsg(HANDLE hContact, PROTORECVEVENT *pre)
+{
+ Proto_RecvMessage(hContact, pre);
+ return 0;
+}
+
+//////////////////////////////////////////////////////////////////////////////
+
int CVkProto::SetStatus(int iNewStatus)
{
if (m_iDesiredStatus == iNewStatus)
@@ -183,11 +193,6 @@ int CVkProto::AuthDeny(HANDLE hDbEvent, const PROTOCHAR *reason) return 1;
}
-int CVkProto::RecvMsg(HANDLE hContact, PROTORECVEVENT *pre)
-{
- return 0;
-}
-
int CVkProto::SendMsg(HANDLE hContact, int flags, const char *msg)
{
return 0;
|