From 88167d8a0f7f0e3b8fbad7c8204732995bd265be Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Tue, 1 Mar 2016 09:07:34 +0000 Subject: =?UTF-8?q?VKontakte:=20update=20VK=20API=20version=20to=205.45=20?= =?UTF-8?q?change=20SvcGetServerHistoryLastXXDay=E2=80=99s=20to=20template?= =?UTF-8?q?=20function=20(path=20by=20MikalaiR)=20version=20bump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.miranda-ng.org/main/trunk@16382 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_history.cpp | 50 ---------------------------------- 1 file changed, 50 deletions(-) (limited to 'protocols/VKontakte/src/vk_history.cpp') diff --git a/protocols/VKontakte/src/vk_history.cpp b/protocols/VKontakte/src/vk_history.cpp index 31ab6fb0f6..183f661164 100644 --- a/protocols/VKontakte/src/vk_history.cpp +++ b/protocols/VKontakte/src/vk_history.cpp @@ -44,56 +44,6 @@ INT_PTR __cdecl CVkProto::SvcGetAllServerHistory(WPARAM hContact, LPARAM) return 1; } -INT_PTR __cdecl CVkProto::SvcGetServerHistoryLast1Day(WPARAM hContact, LPARAM) -{ - debugLogA("CVkProto::SvcGetServerHistoryLast1Day"); - if (!IsOnline()) - return 0; - - GetServerHistoryLastNDay(hContact, 1); - return 1; -} - -INT_PTR __cdecl CVkProto::SvcGetServerHistoryLast3Day(WPARAM hContact, LPARAM) -{ - debugLogA("CVkProto::SvcGetServerHistoryLast3Day"); - if (!IsOnline()) - return 0; - - GetServerHistoryLastNDay(hContact, 3); - return 1; -} - -INT_PTR __cdecl CVkProto::SvcGetServerHistoryLast7Day(WPARAM hContact, LPARAM) -{ - debugLogA("CVkProto::SvcGetServerHistoryLast7Day"); - if (!IsOnline()) - return 0; - - GetServerHistoryLastNDay(hContact, 7); - return 1; -} - -INT_PTR __cdecl CVkProto::SvcGetServerHistoryLast30Day(WPARAM hContact, LPARAM) -{ - debugLogA("CVkProto::SvcGetServerHistoryLast30Day"); - if (!IsOnline()) - return 0; - - GetServerHistoryLastNDay(hContact, 30); - return 1; -} - -INT_PTR __cdecl CVkProto::SvcGetServerHistoryLast90Day(WPARAM hContact, LPARAM) -{ - debugLogA("CVkProto::SvcGetServerHistoryLast90Day"); - if (!IsOnline()) - return 0; - - GetServerHistoryLastNDay(hContact, 90); - return 1; -} - ///////////////////////////////////////////////////////////////////////////////////////// void CVkProto::GetServerHistoryLastNDay(MCONTACT hContact, int NDay) -- cgit v1.2.3