summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx/menuex.h
blob: 958dc2288133b48c0309edf01204d12938f64d37 (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
73
74
75
#ifndef MENUEX_H__
#define MENUEX_H__

#define _CRT_SECURE_NO_DEPRECATE
#define MIRANDA_VER    0x0A00

#include "m_stdhdr.h"
#include <windows.h>
#include "resource.h"
#include <stdio.h>
#include "newpluginapi.h"
#include "win2k.h"
#include "time.h"
#include "m_system.h"
#include "m_utils.h"
#include "m_options.h"
#include "m_database.h"
#include "m_langpack.h"
#include "m_file.h"
#include "m_clist.h"
#include "m_protosvc.h"
#include "m_protomod.h"
#include "m_clui.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_updater.h"
#include "m_fingerprint.h"
#include "m_metacontacts.h"
#include "m_msg_buttonsbar.h"

#pragma optimize("gsy",on)

#define VISPLG "MenuItemEx"
#define MODULENAME VISPLG

#define MIIM_STRING	0x00000040

extern PLUGININFOEX pluginInfoEx;
extern MUUID interfaces[];

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 VF_REFRESH  0x00020000

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

extern const int vf_default;
extern BOOL bMir_08;

#endif