From e7cee36fa4222ecd447e98a51c20d96ce018bfdc Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sat, 5 Sep 2015 10:07:07 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@15249 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/m_messagestate.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 plugins/ExternalAPI/m_messagestate.h (limited to 'plugins/ExternalAPI/m_messagestate.h') 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 -- cgit v1.2.3