summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_messagestate.h
blob: d3dbf5b4a75ae5526062f5f647547fa119c1138d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

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"