summaryrefslogtreecommitdiff
path: root/stopspam/headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'stopspam/headers.h')
-rw-r--r--stopspam/headers.h26
1 files changed, 12 insertions, 14 deletions
diff --git a/stopspam/headers.h b/stopspam/headers.h
index 981749c..99a7e16 100644
--- a/stopspam/headers.h
+++ b/stopspam/headers.h
@@ -15,42 +15,39 @@
#include <time.h>
#include <string>
#include <sstream>
-#include "vector" // stl vector header
-//#include <boost/scoped_array.hpp>
#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 "src/eventhooker.h"
#include "res/version.h"
#include "res/resource.h"
#include "m_stopspam.h"
-#include <m_icolib.h>
-#include <m_skin.h>
-#include "src/m_variables.h"
-#include <m_clist.h>
-using namespace std;
+#include <m_variables.h>
#define pluginName "StopSpam"
+
extern char * pluginDescription;
-//extern char const * defProtoList;
extern TCHAR const * infTalkProtPrefix;
extern char const * answeredSetting;
extern char const * questCountSetting;
-
extern HINSTANCE hInst;
#ifdef _UNICODE
-typedef std::wstring tstring;
-#define PREF_TCHAR2 PREF_UTF
+ typedef std::wstring tstring;
+ #define PREF_TCHAR2 PREF_UTF
#else
-typedef std::string tstring;
-#define PREF_TCHAR2 0
+ typedef std::string tstring;
+ #define PREF_TCHAR2 0
#endif //_UNICODE
#include "src/settings.h"
@@ -67,7 +64,8 @@ tstring &GetDlgItemString(HWND hwnd, int id);
bool IsExistMyMessage(HANDLE hContact);
tstring variables_parse(tstring const &tstrFormat, HANDLE hContact);
tstring trim(tstring const &tstr, tstring const &trimChars = _T(" \f\n\r\t\v"));
+
INT_PTR IsContactPassed(WPARAM wParam, LPARAM /*lParam*/);
INT_PTR RemoveTempContacts(WPARAM wParam,LPARAM lParam);
-INT_PTR OnSystemModulesLoaded(WPARAM wParam,LPARAM lParam);
+int OnSystemModulesLoaded(WPARAM wParam, LPARAM lParam);
#endif