summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/headers.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-09 21:11:11 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-09 21:11:11 +0000
commit9f75859a9af7fc3df868cb7b2714c3a19e239b1e (patch)
tree968b6c5a309a90737c6243ed312d076bb6ae4bdf /plugins/StopSpamPlus/src/headers.h
parent9404a7af6b32f11c87a19320b39841a93a831bb7 (diff)
added precompiled header
git-svn-id: http://svn.miranda-ng.org/main/trunk@3951 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamPlus/src/headers.h')
-rw-r--r--plugins/StopSpamPlus/src/headers.h35
1 files changed, 13 insertions, 22 deletions
diff --git a/plugins/StopSpamPlus/src/headers.h b/plugins/StopSpamPlus/src/headers.h
index c1970bad83..a9966fda87 100644
--- a/plugins/StopSpamPlus/src/headers.h
+++ b/plugins/StopSpamPlus/src/headers.h
@@ -4,34 +4,35 @@
// disable security warnings about "*_s" functions
#define _CRT_SECURE_NO_DEPRECATE
-// disable warnings about underscore in stdc functions
-#pragma warning(disable: 4996)
-
-#define MIRANDA_VER 0x0A00
-
#include <windows.h>
-#include <stdio.h>
#include <commctrl.h>
-#include <time.h>
-#include <string>
#include <sstream>
+#include <list>
#include <newpluginapi.h>
#include <m_database.h>
#include <m_protosvc.h>
#include <m_options.h>
-#include <m_utils.h>
#include <m_langpack.h>
#include <m_icolib.h>
#include <m_skin.h>
#include <m_clist.h>
+#include <m_stopspam.h>
+#include <m_variables.h>
+
+#ifdef _UNICODE
+ typedef std::wstring tstring;
+ #define PREF_TCHAR2 PREF_UTF
+#else
+ typedef std::string tstring;
+ #define PREF_TCHAR2 0
+#endif //_UNICODE
+
#include "eventhooker.h"
#include "version.h"
#include "resource.h"
-#include "m_stopspam.h"
-
-#include "m_variables.h"
+#include "settings.h"
#define pluginName LPGEN("StopSpam")
@@ -42,16 +43,6 @@ extern char const * questCountSetting;
extern HANDLE hLoadHook;
extern HINSTANCE hInst;
-#ifdef _UNICODE
- typedef std::wstring tstring;
- #define PREF_TCHAR2 PREF_UTF
-#else
- typedef std::string tstring;
- #define PREF_TCHAR2 0
-#endif //_UNICODE
-
-#include "settings.h"
-
//options
INT_PTR CALLBACK MainDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
INT_PTR CALLBACK MessagesDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);