#ifndef _stopspam_headers_h #define _stopspam_headers_h // disable security warnings about "*_s" functions #define _CRT_SECURE_NO_DEPRECATE #include #include #include #include #define __NO_CMPLUGIN_NEEDED #include #include #include #include #include #include #include #include #include #include #include typedef std::wstring tstring; #define PREF_TCHAR2 PREF_UTF #include "version.h" #include "resource.h" #include "settings.h" #define pluginName LPGEN("StopSpam") extern char const *answeredSetting; extern HINSTANCE hInst; // utils tstring &GetDlgItemString(HWND hwnd, int id); bool IsExistMyMessage(MCONTACT hContact); tstring variables_parse(const wchar_t *tstrFormat, MCONTACT hContact); tstring trim(tstring const &tstr, tstring const &trimChars = L" \f\n\r\t\v"); INT_PTR IsContactPassed(WPARAM wParam, LPARAM /*lParam*/); INT_PTR RemoveTempContacts(WPARAM wParam,LPARAM lParam); int OnSystemModulesLoaded(WPARAM wParam, LPARAM lParam); int OnDbEventAdded(WPARAM wParam, LPARAM lParam); int OnDbEventFilterAdd(WPARAM w, LPARAM l); int OnOptInit(WPARAM w, LPARAM l); int OnDbContactSettingchanged(WPARAM hContact, LPARAM l); #endif