diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-12-26 04:23:50 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-12-26 04:23:50 +0000 |
commit | efee96cfd3e6318ed376363ab9781bd944940107 (patch) | |
tree | 65b7c778fb973910bd0dc8bc82b56e4e3c70b7e0 /protocols/VKontakte/src/vk_proto.h | |
parent | f323ef4e6b1fe263e5564c66da33bdef7eb5fdde (diff) |
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
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.h | 8 |
1 files changed, 5 insertions, 3 deletions
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<CVkProto> 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;
|