summaryrefslogtreecommitdiff
path: root/plugins/Spamotron/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-17 18:23:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-17 18:23:34 +0300
commit2aa59179945482dee30935c991f9317dfbf31946 (patch)
tree49fc2b77d68b636c7842a1af462af59c94ff6da5 /plugins/Spamotron/src/stdafx.h
parent4c4735a232c680e60a85d0f85e2cb392e012c6e0 (diff)
Tipper, StopSpamMod, StopSpam, StatusManager, StatusChange, StartupSilence, StartPosition, SplashScreen, SpellChecker, Spamotron => CMPlugin
Diffstat (limited to 'plugins/Spamotron/src/stdafx.h')
-rw-r--r--plugins/Spamotron/src/stdafx.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Spamotron/src/stdafx.h b/plugins/Spamotron/src/stdafx.h
index 64f97f4c96..859d41a792 100644
--- a/plugins/Spamotron/src/stdafx.h
+++ b/plugins/Spamotron/src/stdafx.h
@@ -150,6 +150,13 @@ void queue_message(MCONTACT hContact, DWORD msgtime, wchar_t *message);
void bayes_approve_contact(MCONTACT hContact);
void dequeue_messages();
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(PLUGIN_NAME)
+ {}
+};
+
#ifdef _DEBUG
extern sqlite3 *bayesdbg;
#define BAYESDBG_FILENAME "bayes.dbg"