summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-23 22:40:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-23 22:40:56 +0000
commitcb4909f7f21641f40e2676a848304e54bc44328c (patch)
tree75142255eb38814ad0809fe7c777e3ae128672fe /protocols/VKontakte/src/vk_proto.h
parent02c5b3e97608972a9aa6638bb73b31a4c6bddcfd (diff)
VK:
- massive update for the status setting code; - connection icon doesn't rotate in tray; - connection status isn't restored after wake up from standby/sleep mode; - network errors weren't processed in the main cycle - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@6606 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index e045147af7..204694bd56 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -26,7 +26,7 @@ struct AsyncHttpRequest : public NETLIBHTTPREQUEST, public MZeroedObject
void AddHeader(LPCSTR, LPCSTR);
void Redirect(NETLIBHTTPREQUEST*);
- BOOL bNeedsRestart;
+ bool bNeedsRestart, bIsMainConn;
VK_REQUEST_HANDLER m_pFunc;
void *pUserInfo;
};
@@ -124,7 +124,7 @@ struct CVkProto : public PROTO<CVkProto>
void PollUpdates(JSONNODE*);
void OnReceivePolling(NETLIBHTTPREQUEST*, AsyncHttpRequest *pReq);
- int SetServerStatus(int);
+ void SetServerStatus(int);
__forceinline bool IsOnline() const { return m_bOnline; }