summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-05 10:07:07 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-05 10:07:07 +0000
commite7cee36fa4222ecd447e98a51c20d96ce018bfdc (patch)
treee057920b8a53620144f368bf88654884c9a5db87 /plugins/ExternalAPI
parentc958dbab118e9618d975fa37e72159319bc633f4 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15249 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI')
-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