summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/messages.h
blob: 13ca9de80d8996e7466029ae8a11e664826cb2b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __MESSAGES_H
#define __MESSAGES_H

#define WM_YAMN WM_APP+0x2800  // (0xA800 in fact)

enum
{
	WM_YAMN_CHANGETIME = WM_YAMN,

	//ChangeStatus message
	//WPARAM- (HACCOUNT) Account whose status is changed
	//LPARAM- new status of account
	WM_YAMN_CHANGESTATUS,

	//StopAccount message
	//WPARAM- (HACCOUNT) Account, which should stop its work and finish immidiatelly
	WM_YAMN_STOPACCOUNT,

	//Account content changed
	WM_YAMN_CHANGECONTENT,

	WM_YAMN_UPDATEMAILS,

	WM_YAMN_NOTIFYICON,

	WM_YAMN_CHANGESTATUSOPTION,

	WM_YAMN_SHOWSELECTED,
};

#endif