summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index 9000017dee..cc1d82884c 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -82,4 +82,16 @@ struct CVkProto : public PROTO<CVkProto>
//==== Misc ==========================================================================
TCHAR* GetUserStoredPassword(void);
+
+ __forceinline bool IsOnline() const { return m_bOnline; }
+
+ void ShutdownSession();
+ void OnLoggedOut();
+ void __cdecl WorkerThread(void*);
+
+private:
+ int SetServerStatus(int);
+
+ bool m_bOnline;
+ UINT m_hWorkerThread;
};