summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/src/stdafx.h
blob: 6ae48751deef9c60204c20afedf649067fafe1b0 (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 <windows.h>

using namespace std;
#include <fstream>
#include <string>

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

#include <m_variables.h>
#include <m_folders.h>

#include <string>
#include <sstream>

#include <boost\regex.hpp>
#include <boost\algorithm\string.hpp>
#include <boost\nondet_random.hpp>
#include <boost\random\variate_generator.hpp>
#include <boost\random\uniform_int.hpp>

#include "globals.h"
#include "stopspam.h"
#include "version.h"
#include "resource.h"
#include "utilities.h"

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

	int Load() override;
};

extern HANDLE hStopSpamLogDirH;

int OnDbContactSettingChanged(WPARAM w, LPARAM l);
int OnDbEventFilterAdd(WPARAM w, LPARAM l);
int OnDbEventAdded(WPARAM hContact, LPARAM hDbEvent);
int OnOptInit(WPARAM w, LPARAM l);

void __cdecl CleanThread(void*);