diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-05-22 08:03:13 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-05-22 08:03:13 +0000 |
commit | 0074bc782f2568f4d0ae4c3c4f95df96b4a7aa4a (patch) | |
tree | 4355c7310d5f1db2060e49e0c8ad1100e758c4ec /plugins/Spamotron/src/spamotron.cpp | |
parent | 471a7df97aa4d604e62d7497802fef615e9841dc (diff) |
small cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@4788 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Spamotron/src/spamotron.cpp')
-rw-r--r-- | plugins/Spamotron/src/spamotron.cpp | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/plugins/Spamotron/src/spamotron.cpp b/plugins/Spamotron/src/spamotron.cpp index 82c0a2aa46..78b95f6e8e 100644 --- a/plugins/Spamotron/src/spamotron.cpp +++ b/plugins/Spamotron/src/spamotron.cpp @@ -5,19 +5,18 @@ HANDLE hOptInitialize, hModulesLoaded, hDBContactAdded, hDBEventAdded, hDBEventF time_t last_queue_check = 0;
int hLangpack;
-#define MIID_SPAMOTRON {0x14331048,0x5a73,0x4fdb,{0xb9,0x09,0x2d,0x7e,0x18,0x25,0xa0,0x12}} /* 14331048-5a73-4fdb-b909-2d7e1825a012 */
-
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
- PLUGIN_NAME,
- PLUGIN_MAKE_VERSION(0,0,4,6),
- "Anti-spam plugin with captcha and Bayes filtering.",
- "vu1tur",
- "to@vu1tur.eu.org",
- "© 2010 vu1tur",
- "http://vu1tur.eu.org/spamotron",
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
- MIID_SPAMOTRON
+ // 14331048-5a73-4fdb-b909-2d7e1825a012
+ {0x14331048, 0x5a73, 0x4fdb, {0xb9, 0x09, 0x2d, 0x7e, 0x18, 0x25, 0xa0, 0x12}}
};
@@ -547,12 +546,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfo;
}
-static const MUUID interfaces[] = {MIID_SPAMOTRON, MIID_LAST};
-extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
-
extern "C" __declspec(dllexport) int Load()
{
mir_getLP(&pluginInfo);
|