From 927f7544d4639e95929da0827d73a830caf40667 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Mon, 16 Mar 2015 10:52:18 +0000 Subject: =?UTF-8?q?VKontakte:=20add=20=E2=80=98Mark=20notification=20as=20?= =?UTF-8?q?viewed=20on=20receive=E2=80=99=20option=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@12414 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.h | 4 +++- 1 file changed, 3 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 3296e5d0a6..63647070a7 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -378,7 +378,8 @@ struct CVkProto : public PROTO void OnReceiveUnreadNews(NETLIBHTTPREQUEST*, AsyncHttpRequest*); void RetrieveUnreadNotifications(time_t tLastNotificationsTime); - bool FilterNotification(CVKNewsItem* vkNotificationItem); + bool FilterNotification(CVKNewsItem* vkNotificationItem, bool& isCommented); + void NotificationMarkAsViewed(); void OnReceiveUnreadNotifications(NETLIBHTTPREQUEST*, AsyncHttpRequest*); void RetrieveUnreadEvents(); void NewsClearHistory(); @@ -578,6 +579,7 @@ private: m_bUserForceOnlineOnActivity, m_bNewsEnabled, m_bNotificationsEnabled, + m_bNotificationsMarkAsViewed, m_bSpecialContactAlwaysEnabled, m_bNewsAutoClearHistory, m_bNewsFilterPosts, -- cgit v1.2.3