summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_messagestate.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-29 21:32:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-29 21:32:45 +0300
commitf0173fd8343e7f1469b40ea8372f6b951846f63b (patch)
tree05a775d2c18d8eb43d7172bd4e13203d75e83e0a /plugins/ExternalAPI/m_messagestate.h
parent5792d59c3ed577096556b744a51bb375e59c325f (diff)
MessageState: rewritten from scratch to work
Diffstat (limited to 'plugins/ExternalAPI/m_messagestate.h')
-rw-r--r--plugins/ExternalAPI/m_messagestate.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/plugins/ExternalAPI/m_messagestate.h b/plugins/ExternalAPI/m_messagestate.h
index b47ea166e9..fa908b06f9 100644
--- a/plugins/ExternalAPI/m_messagestate.h
+++ b/plugins/ExternalAPI/m_messagestate.h
@@ -2,22 +2,15 @@
enum MessageReadData_TimeType
{
- MRD_TYPE_READTIME,
- MRD_TYPE_MESSAGETIME
-};
-
-struct MessageReadData
-{
- DWORD dw_lastTime;
- int iTimeType;
- MessageReadData(DWORD lastTime, int type) : dw_lastTime(lastTime), iTimeType(type) {}
+ MRD_TYPE_DELIVERED = 1,
+ MRD_TYPE_READ = 2
};
/*
* Update messagestate read time
* WPARAM = hContact
-* LPARAM = (LPARAM)(MessageReadData*)
+* LPARAM = MessageReadData_TimeType
* returns 0
*/
-#define MS_MESSAGESTATE_UPDATE "MessageState/Update" \ No newline at end of file
+#define MS_MESSAGESTATE_UPDATE "MessageState/Update"