summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ExternalAPI')
-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"