From fc4ca4545540ba1f35e4e7ad01646edf11199b4e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 7 Jan 2014 12:31:01 +0000 Subject: ability to set the alternative VK domain git-svn-id: http://svn.miranda-ng.org/main/trunk@7531 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.h | 5 ++++- 1 file changed, 4 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 7b488f15ae..dbb5d68100 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -135,6 +135,9 @@ struct CVkProto : public PROTO __forceinline LPCTSTR getGroup() const { return m_defaultGroup; } __forceinline void setGroup(LPCTSTR grp) { m_defaultGroup = mir_tstrdup(grp); } + __forceinline LPCSTR getDomain() const { return m_baseDomain; } + __forceinline void setDomain(LPCSTR domain) { m_baseDomain = mir_strdup(domain); } + private: LIST m_arRequestsQueue; CRITICAL_SECTION m_csRequestsQueue; @@ -189,7 +192,7 @@ private: bool m_bOnline; LONG m_myUserId; - ptrA m_szAccessToken; + ptrA m_baseDomain, m_szAccessToken; ptrT m_defaultGroup; UINT_PTR m_timer; -- cgit v1.2.3