summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_messagestate.h
blob: a69772f698e7c34b345bf50f9351359d6c6e2f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"