summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/Mra_svcs.cpp
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-03-10 10:10:21 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-03-10 10:10:21 +0000
commit1825a479de6272b60a139d0675162469d8ee1d03 (patch)
tree9e5e4ffac169937f3b8c22e39114c3d9bd951af3 /protocols/MRA/src/Mra_svcs.cpp
parenta105d0705b4831de7212737072c8cb80f90530ff (diff)
MRA
Add: support PS_GETUNREADEMAILCOUNT service git-svn-id: http://svn.miranda-ng.org/main/trunk@8542 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Mra_svcs.cpp')
-rw-r--r--protocols/MRA/src/Mra_svcs.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/MRA/src/Mra_svcs.cpp b/protocols/MRA/src/Mra_svcs.cpp
index fdfeb52429..bf3c6912ff 100644
--- a/protocols/MRA/src/Mra_svcs.cpp
+++ b/protocols/MRA/src/Mra_svcs.cpp
@@ -577,6 +577,14 @@ INT_PTR CMraProto::MraSendNudge(WPARAM hContact, LPARAM lParam)
return 1;
}
+INT_PTR CMraProto::GetUnreadEmailCount(WPARAM wParam, LPARAM lParam)
+{
+ if ( !m_bLoggedIn )
+ return 0;
+ return m_dwEmailMessagesUnread;
+}
+
+
/////////////////////////////////////////////////////////////////////////////////////////
// Avatars