From 6298b38266b6744d83c1bfb1801cce1b0986a4cf Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Thu, 7 Apr 2016 04:40:53 +0000 Subject: VKontakte: option flags move to separate class account manager dialog -> core ui option page dialogs -> core ui move declarations to private section remove unneeded (after rev. 16596) attention from option dialog code cleanup version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@16600 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_chats.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'protocols/VKontakte/src/vk_chats.cpp') diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp index f0440809d5..2957f8272c 100644 --- a/protocols/VKontakte/src/vk_chats.cpp +++ b/protocols/VKontakte/src/vk_chats.cpp @@ -91,7 +91,7 @@ CVkChatInfo* CVkProto::AppendChat(int id, const JSONNode &jnDlg) } gcd.iType = GC_EVENT_CONTROL; gce.ptszStatus = 0; - CallServiceSync(MS_GC_EVENT, (m_bHideChats) ? WINDOW_HIDDEN : SESSION_INITDONE, (LPARAM)&gce); + CallServiceSync(MS_GC_EVENT, (m_vkOptions.bHideChats) ? WINDOW_HIDDEN : SESSION_INITDONE, (LPARAM)&gce); CallServiceSync(MS_GC_EVENT, SESSION_ONLINE, (LPARAM)&gce); RetrieveChatInfo(c); @@ -465,7 +465,7 @@ void CVkProto::SetChatStatus(MCONTACT hContact, int iStatus) ///////////////////////////////////////////////////////////////////////////////////////// -TCHAR* UnEscapeChatTags(TCHAR* str_in) +TCHAR* UnEscapeChatTags(TCHAR *str_in) { TCHAR *s = str_in, *d = str_in; while (*s) { @@ -624,7 +624,7 @@ INT_PTR __cdecl CVkProto::OnJoinChat(WPARAM hContact, LPARAM) AsyncHttpRequest *pReq = new AsyncHttpRequest(this, REQUEST_POST, "/method/messages.send.json", true, &CVkProto::OnSendChatMsg, AsyncHttpRequest::rpHigh) << INT_PARAM("chat_id", chat_id) - << TCHAR_PARAM("message", m_ReturnChatMessage); + << TCHAR_PARAM("message", m_vkOptions.ptszReturnChatMessage); pReq->AddHeader("Content-Type", "application/x-www-form-urlencoded"); Push(pReq); db_unset(hContact, m_szModuleName, "off"); @@ -754,7 +754,7 @@ void CVkProto::OnChatDestroy(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq) void CVkProto::NickMenuHook(CVkChatInfo *cc, GCHOOK *gch) { - CVkChatUser* cu = cc->GetUserById(gch->ptszUID); + CVkChatUser *cu = cc->GetUserById(gch->ptszUID); MCONTACT hContact; if (cu == NULL) return; @@ -814,7 +814,7 @@ static gc_item sttListItems[] = int CVkProto::OnGcMenuHook(WPARAM, LPARAM lParam) { - GCMENUITEMS* gcmi = (GCMENUITEMS*)lParam; + GCMENUITEMS *gcmi = (GCMENUITEMS*)lParam; if (gcmi == NULL) return 0; @@ -834,7 +834,7 @@ int CVkProto::OnGcMenuHook(WPARAM, LPARAM lParam) ///////////////////////////////////////////////////////////////////////////////////////// -void CVkProto::ChatContactTypingThread(void * p) +void CVkProto::ChatContactTypingThread(void *p) { CVKChatContactTypingParam *param = (CVKChatContactTypingParam *)p; if (!p) @@ -855,7 +855,7 @@ void CVkProto::ChatContactTypingThread(void * p) delete param; return; } - CVkChatUser* cu = cc->GetUserById(iUserId); + CVkChatUser *cu = cc->GetUserById(iUserId); if (cu == NULL) { delete param; return; @@ -890,7 +890,7 @@ void CVkProto::StopChatContactTyping(int iChatId, int iUserId) if (cc == NULL) return; - CVkChatUser* cu = cc->GetUserById(iUserId); + CVkChatUser *cu = cc->GetUserById(iUserId); if (cu == NULL) return; -- cgit v1.2.3