From b8283f989e1d0a5d623f7f57c89c1499618158c4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 5 Oct 2013 21:46:05 +0000 Subject: VK: - SetStatus implementation; - worker thread git-svn-id: http://svn.miranda-ng.org/main/trunk@6360 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (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 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 //==== 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; }; -- cgit v1.2.3