diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-07 17:34:17 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-07 17:34:17 +0300 |
commit | cb8ff5c1221d3c820142cf2333face1ab8f03c93 (patch) | |
tree | a375b2bdb3e799ab884f3b13a57a72ba0269a6b9 /plugins/StopSpamPlus/src/stdafx.h | |
parent | 0f20f071ff9c57cb7d1c47f6f84d0f0cffa5eec7 (diff) |
fixes #3679 (StopSpam/StopSpamMod: Jabber message query overflow)
Diffstat (limited to 'plugins/StopSpamPlus/src/stdafx.h')
-rw-r--r-- | plugins/StopSpamPlus/src/stdafx.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/StopSpamPlus/src/stdafx.h b/plugins/StopSpamPlus/src/stdafx.h index 84916a972f..75840d2c03 100644 --- a/plugins/StopSpamPlus/src/stdafx.h +++ b/plugins/StopSpamPlus/src/stdafx.h @@ -20,7 +20,6 @@ #include <m_clistint.h>
#include <m_gui.h>
-#include <m_stopspam.h>
#include <m_variables.h>
typedef std::wstring tstring;
@@ -32,6 +31,8 @@ typedef std::wstring tstring; #define MODULENAME LPGEN("StopSpam")
#define DB_KEY_ANSWERED "Answered"
+#define DB_KEY_HASAUTH "HasAuth"
+#define DB_KEY_HASSENT "HasSent"
#define DB_KEY_QUESTCOUNT "QuestionCount"
struct CMPlugin : public PLUGIN<CMPlugin>
@@ -57,14 +58,13 @@ struct CMPlugin : public PLUGIN<CMPlugin> };
// 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 OnDbEventAdded(WPARAM wParam, LPARAM lParam);
-int OnDbEventFilterAdd(WPARAM w, LPARAM l);
-int OnOptInit(WPARAM w, LPARAM l);
-int OnDbContactSettingchanged(WPARAM hContact, LPARAM l);
+INT_PTR IsContactPassed(WPARAM, LPARAM);
+int OnDbEventAdded(WPARAM, LPARAM);
+int OnDbEventFilterAdd(WPARAM, LPARAM);
+int OnOptInit(WPARAM, LPARAM);
+int OnShutdown(WPARAM, LPARAM);
+
#endif
|