summaryrefslogtreecommitdiff
path: root/plugins/StatusChange/src/stdafx.h
blob: a1a22ef23581a8684abdc50c2455e33625a40e50 (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
42
43
44
45
46
47
#pragma once

#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"

struct CMPlugin : public PLUGIN<CMPlugin>
{
	CMPlugin();

	int Load() override;
};

struct TOPTIONS
{
	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;
};