From efee96cfd3e6318ed376363ab9781bd944940107 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Fri, 26 Dec 2014 04:23:50 +0000 Subject: VKontakte: add news¬ification autoclear option code cleanup version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@11641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (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 5592662f32..4c41ce0709 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -365,7 +365,8 @@ struct CVkProto : public PROTO void RetrieveUnreadNotifications(time_t tLastNotificationsTime); void OnReceiveUnreadNotifications(NETLIBHTTPREQUEST*, AsyncHttpRequest*); - void CVkProto::RetrieveUnreadEvents(); + void RetrieveUnreadEvents(); + void NewsClearHistory(); INT_PTR __cdecl SvcLoadVKNews(WPARAM, LPARAM); @@ -550,9 +551,10 @@ private: m_bUserForceOnlineOnActivity, m_bNewsEnabled, m_bNotificationsEnabled, - m_bSpecialContactAlwaysEnabled; + m_bSpecialContactAlwaysEnabled, + m_bNewsAutoClearHistory; - int m_iNewsInterval, m_iNotificationsInterval; + int m_iNewsInterval, m_iNotificationsInterval, m_iNewsAutoClearHistoryInterval; enum MarkMsgReadOn { markOnRead, markOnReceive, markOnReply, markOnTyping }; int m_iMarkMessageReadOn; -- cgit v1.2.3