summaryrefslogtreecommitdiff
path: root/plugins/StatusChange/src/Common.h
blob: f7568d19c15672949645e065b00b37d87150df5f (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
#define _CRT_SECURE_NO_WARNINGS
#define WIN32_LEAN_AND_MEAN

#include <windows.h>
#include <commctrl.h>

#include <newpluginapi.h>
#include <m_database.h>
#include <m_clist.h>
#include <m_options.h>
#include <m_skin.h>
#include <m_langpack.h>
#include <m_protosvc.h>

#include "resource.h"
#include "version.h"

#define PLUGINNAME "StatusChange"

typedef struct
{
	BOOL MessageRead;
	BOOL MessageSend;
	BOOL UrlRead;
	BOOL UrlSend;
	BOOL FileRead;
	BOOL FileSend;

	int ChangeTo; // ID_STATUS_XXX

	BOOL IfOffline;
	BOOL IfOnline;
	BOOL IfAway;
	BOOL IfNA;
	BOOL IfOccupied;
	BOOL IfDND;
	BOOL IfFreeforchat;
	BOOL IfInvisible;
	BOOL IfOnthephone;
	BOOL IfOuttolunch;
} TOPTIONS;