From 44555cbf80933e0fad4686341676fe345b1faff3 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sun, 24 Apr 2011 18:36:28 +0000 Subject: stopspam: added x64 configurations added destroing functions on exit git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@29 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- stopspam/headers.h | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'stopspam/headers.h') 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 #include #include -#include "vector" // stl vector header -//#include #include #include #include #include #include #include +#include +#include +#include + #include "src/eventhooker.h" #include "res/version.h" #include "res/resource.h" #include "m_stopspam.h" -#include -#include -#include "src/m_variables.h" -#include -using namespace std; +#include #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 -- cgit v1.2.3