summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_messagestate.h
blob: b47ea166e9532a937304848482d2ceb1f09ee47d (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

enum MessageReadData_TimeType
{
	MRD_TYPE_READTIME,
	MRD_TYPE_MESSAGETIME
};

struct MessageReadData
{
	DWORD dw_lastTime;
	int iTimeType;
	MessageReadData(DWORD lastTime, int type) : dw_lastTime(lastTime), iTimeType(type) {}
};

/*
* Update messagestate read time
* WPARAM = hContact
* LPARAM = (LPARAM)(MessageReadData*)
* returns 0
*/

#define MS_MESSAGESTATE_UPDATE "MessageState/Update"