From 773421e8ba17637d994088c393d406226b516a30 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 11 Oct 2013 14:01:25 +0000 Subject: - m_hNetlibUser moved to PROTO_INTERFACE; - unified protocol loggers git-svn-id: http://svn.miranda-ng.org/main/trunk@6435 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'protocols/VKontakte/src/vk_proto.h') diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h index d6a6a3259e..23e3144b81 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -98,6 +98,13 @@ struct CVkProto : public PROTO void RetrieveFriends(); void OnReceiveFriends(NETLIBHTTPREQUEST*, void*); + void RetrievePollingInfo(); + void OnReceivePollingInfo(NETLIBHTTPREQUEST*, void*); + + void __cdecl PollingThread(void*); + void PollServer(); + void OnReceivePolling(NETLIBHTTPREQUEST*, void*); + int SetServerStatus(int); __forceinline bool IsOnline() const { return m_bOnline; } @@ -144,8 +151,11 @@ private: bool m_bOnline; - HANDLE m_hNetlibUser, m_hNetlibConn; + HANDLE m_hNetlibConn; ptrA m_szAccessToken, m_myUserId; ptrT m_defaultGroup; UINT_PTR m_timer; + + ptrA m_pollingServer, m_pollingKey, m_pollingTs; + HANDLE m_pollingConn; }; -- cgit v1.2.3