summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx/src/stdafx.h
blob: 4f83841c4e2be89223c0bee830c65b00bfe177bd (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#ifndef MENUEX_H__
#define MENUEX_H__

#define _CRT_SECURE_NO_DEPRECATE

#include <windows.h>

#include <newpluginapi.h>
#include <win2k.h>
#include <m_system.h>
#include <m_options.h>
#include <m_database.h>
#include <m_protosvc.h>
#include <m_langpack.h>
#include <m_file.h>
#include <m_clistint.h>
#include <m_ignore.h>
#include <m_icolib.h>
#include <m_skin.h>
#include <m_genmenu.h>
#include <m_popup.h>
#include <m_message.h>

#include <m_fingerprint.h>
#include <m_metacontacts.h>

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

#define MODULENAME "MenuItemEx"

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

#define MIIM_STRING	0x00000040

extern PLUGININFOEX pluginInfoEx;

int OptionsInit(WPARAM, LPARAM);

#define MAX_PROTOS	32
#define MAX_GROUPS	32
#define MAX_IDLEN	16

#define VF_VS		0x00000001
#define	VF_SMNAME	0x00000002
#define	VF_HFL		0x00000004
#define VF_IGN		0x00000008
#define VF_PROTO	0x00000010
#define VF_SHOWID	0x00000020
#define VF_ADD		0x00000040
#define VF_REQ		0x00000080
#define VF_CID		0x00000100
#define VF_RECV		0x00000200
#define VF_STAT		0x00000400
#define VF_CIDN		0x00000800
#define VF_CIP		0x00001000
#define VF_SAI		0x00002000
#define VF_TRIMID	0x00004000
#define VF_CMV		0x00008000
#define VF_IGNH		0x00010000

#define CTRL_IS_PRESSED (GetAsyncKeyState(VK_CONTROL)&0x8000)

extern const int vf_default;

#endif