summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/ExternalAPI/m_messagestate.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/ExternalAPI/m_messagestate.h b/plugins/ExternalAPI/m_messagestate.h
new file mode 100644
index 0000000000..a69772f698
--- /dev/null
+++ b/plugins/ExternalAPI/m_messagestate.h
@@ -0,0 +1,21 @@
+struct MessageReadData
+{
+ DWORD dw_lastTime;
+ int iTimeType;
+ MessageReadData(DWORD lastTime, int type) : dw_lastTime(lastTime), iTimeType(type) {}
+};
+
+enum MessageReadData_TimeType
+{
+ MRD_TYPE_READTIME,
+ MRD_TYPE_MESSAGETIME
+};
+
+/*
+* Update messagestate read time
+* WPARAM = hContact
+* LPARAM = (LPARAM)(MessageReadData*)
+* returns 0
+*/
+
+#define MS_MESSAGESTATE_UPDATE "MessageState/Update" \ No newline at end of file