summaryrefslogtreecommitdiff
path: root/plugins/MirFox/src/common.h
blob: 208dcfbd2cd1de1ded78d774f4c6669bc7a43a67 (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
#pragma once

#include "MirFoxCommons_pch.h"

#pragma comment(lib, "comctl32.lib")
#include <commctrl.h>

// Miranda headers
#include <newpluginapi.h>
#include <m_contacts.h>
#include <m_database.h>
#include <m_langpack.h>
#include <m_options.h>
#include <m_clistint.h>
#include <m_protosvc.h>
#include <m_popup.h>
#include <m_message.h>
#include <m_extraicons.h>
#include <m_protocols.h>

#define MODULENAME "MirFox"

#define PLUGIN_OPTIONS_NAME "MirFox"

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

	int Load() override;
	int Unload() override;
};

//for MirandaUtils.h and MirfoxData.h and MirfoxMiranda.h
#include "MirFoxCommons_logger.h"

//for MirfoxMiranda
#include "MirFoxCommons_sharedMemory.h"
#include "MirFoxCommons_messageQueueBySM.h"

//for MirandaUtils.h
#include <iostream>								//for	ostringstream
#include <sstream>								//for	ostringstream
#include <locale>								//for	use_facet
#include <map>									//for	map

#include <winsock.h>		//needed for m_netlib.h
#include <m_netlib.h>

//for MirfoxData.h
#include <boost/algorithm/string.hpp>			//for	boost::iequals
#include <boost/algorithm/string/replace.hpp>	//for	boost::replace_all