summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-28 16:30:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-28 16:30:05 +0000
commit52c57ef89cc24bdb8c70908f544ae86fd87db129 (patch)
treebbbeb2b8ffa4109a50bae561c2e00aad9e565068 /protocols/WhatsApp/src/proto.h
parentf546c968c4ee1add671e8b6545d52dece95cd3f5 (diff)
- statusbar icon added to notify user that a message was read;
- FMessage own numbering removed as atavism; - WAConnection::msg_id followed FMessage::id on its road to hell - WhatsAppProto::GetSerial() added as the only method that increments message numbers git-svn-id: http://svn.miranda-ng.org/main/trunk@11941 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.h')
-rw-r--r--protocols/WhatsApp/src/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h
index 622296cdd9..a55d357e3f 100644
--- a/protocols/WhatsApp/src/proto.h
+++ b/protocols/WhatsApp/src/proto.h
@@ -129,6 +129,8 @@ public:
return getByte(hC, "SimpleChatRoom", 0) > (checkIsAdmin ? 1 : 0);
}
+ LONG GetSerial();
+
//////////////////////////////////////////////////////////////////////////////////////
// Registration
@@ -139,6 +141,8 @@ private:
//////////////////////////////////////////////////////////////////////////////////////
// Helpers
+ LONG m_iSerial;
+
std::tstring GetAvatarFolder();
void ToggleStatusMenuItems(BOOL bEnable);