diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-03-01 09:07:34 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-03-01 09:07:34 +0000 |
commit | 88167d8a0f7f0e3b8fbad7c8204732995bd265be (patch) | |
tree | 85f42a3b36918ebe5519e13feaf59f94e093a542 /protocols/VKontakte/src/vk_history.cpp | |
parent | d575132cdc94cf476fee70859aa673a31aba3ea4 (diff) |
VKontakte:
update VK API version to 5.45
change SvcGetServerHistoryLastXXDay’s to template function (path by MikalaiR)
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@16382 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_history.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_history.cpp | 50 |
1 files changed, 0 insertions, 50 deletions
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)
|