summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history.h
blob: d93cd6dd3c74cf8b82e033766b642bca492a6467 (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 __history_h__
#define __history_h__

#define EVENTTYPE_OTHER 12345
#define EVENTTYPE_STATUSCHANGE 25368
#define EVENTTYPE_JABBER_PRESENCE 2001

enum
{
	UM_LOADCONTACT = WM_USER + 1,

	UM_REBUILDLIST,
	UM_FILTERLIST,
	UM_REDRAWLIST,
	UM_REDRAWLISTH,

	UM_ADDEVENT,
	UM_ADDEVENTFILTER,
	UM_REMOVEEVENT,
	UM_EDITEVENT,

	UM_SELECTED,

	UM_GETEVENTCOUNT,
	UM_GETEVENT,
	UM_GETEVENTTEXT,
	UM_GETEVENTCONTACT,
	UM_GETEVENTHANDLE
};

extern MWindowList g_hNewstoryWindows, g_hNewstoryLogs;

void InitMenus();
void InitHotkeys();

INT_PTR svcShowNewstory(WPARAM, LPARAM);
INT_PTR svcGlobalSearch(WPARAM, LPARAM);

CSrmmLogWindow* __cdecl NewStory_Stub(CMsgDialog &pDlg);

#endif // __history_h__