summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_messages.h
blob: 5ad57c2a784cfdc88d2c88dc46270c4a0ee2c8e0 (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
32
33
34
35
36
37
38
39
40
41
#ifndef __MESSAGES_H
#define __MESSAGES_H

//#include "list.h"

// structure for chained list of handles (window handles, account handles, whatever)
struct WndHandles
{
	HANDLE Handle;

	struct WndHandles *Next;
};

#define WM_YAMN		WM_APP+0x2800		//(0xA800 in fact)
enum
{
	WM_YAMN_CHANGEHOTKEY=WM_YAMN,
	WM_YAMN_CHANGETIME,

//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