summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-11 21:14:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-11 21:14:01 +0000
commit2ddaa0bcf64f3c1cd8e6bc7c16e4f009d0ff5b93 (patch)
tree220c6ef09cca855d2d1715f9c620e5d9a5e1a146 /protocols/VKontakte/src/vk_proto.h
parent9b8ec8aeeb593644b053dc491818f37587293eae (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.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index 23e3144b81..3f5d8df4e0 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -98,11 +98,14 @@ struct CVkProto : public PROTO<CVkProto>
void RetrieveFriends();
void OnReceiveFriends(NETLIBHTTPREQUEST*, void*);
+ void RetrieveUnreadMessages();
+ void OnReceiveMessages(NETLIBHTTPREQUEST*, void*);
+
void RetrievePollingInfo();
void OnReceivePollingInfo(NETLIBHTTPREQUEST*, void*);
void __cdecl PollingThread(void*);
- void PollServer();
+ int PollServer();
void OnReceivePolling(NETLIBHTTPREQUEST*, void*);
int SetServerStatus(int);
@@ -157,5 +160,5 @@ private:
UINT_PTR m_timer;
ptrA m_pollingServer, m_pollingKey, m_pollingTs;
- HANDLE m_pollingConn;
+ HANDLE m_hPollingThread;
};