summaryrefslogtreecommitdiff
path: root/plugins/Bonsai
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Bonsai')
-rw-r--r--plugins/Bonsai/Bonsai.cpp12
-rw-r--r--plugins/Bonsai/commonheaders.h22
2 files changed, 2 insertions, 32 deletions
diff --git a/plugins/Bonsai/Bonsai.cpp b/plugins/Bonsai/Bonsai.cpp
index bea3156f89..7952b0e334 100644
--- a/plugins/Bonsai/Bonsai.cpp
+++ b/plugins/Bonsai/Bonsai.cpp
@@ -45,21 +45,13 @@ PLUGININFOEX pluginInfo = {
__AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
- 1, //unicode aware
+ UNICODE_AWARE, //unicode aware
0,
{0x2fe47261, 0x7f38, 0x45f4, {0x8f, 0xac, 0xb8, 0x7e, 0x97, 0x4a, 0x13, 0x50}} //{2fe47261-7f38-45f4-8fac-b87e974a1350}
- }; //not used
-
-OLD_MIRANDAPLUGININFO_SUPPORT;
+};
extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion)
{
-// Log("%s", "Entering function " __FUNCTION__);
-// Log("%s", "Leaving function " __FUNCTION__);
- if (mirandaVersion < PLUGIN_MAKE_VERSION(0, 6, 0, 0))
- {
- return NULL;
- }
return &pluginInfo;
}
diff --git a/plugins/Bonsai/commonheaders.h b/plugins/Bonsai/commonheaders.h
index 29ebda9d46..13420915f0 100644
--- a/plugins/Bonsai/commonheaders.h
+++ b/plugins/Bonsai/commonheaders.h
@@ -67,26 +67,4 @@ extern HBITMAP hbUnmodified;
extern HBITMAP hbNewlyModified;
extern HIMAGELIST imgList;
-#define OLD_MIRANDAPLUGININFO_SUPPORT PLUGININFO oldPluginInfo = { \
- sizeof(PLUGININFO), \
- pluginInfo.shortName, \
- pluginInfo.version, \
- pluginInfo.description, \
- pluginInfo.author, \
- pluginInfo.authorEmail, \
- pluginInfo.copyright, \
- pluginInfo.homepage, \
- pluginInfo.flags, \
- pluginInfo.replacesDefaultModule \
-}; \
-\
-extern "C" __declspec(dllexport) PLUGININFO *MirandaPluginInfo(DWORD mirandaVersion) \
-{ \
- if (mirandaVersion < PLUGIN_MAKE_VERSION(0, 6, 0, 0)) \
- { \
- return NULL; \
- } \
- return &oldPluginInfo; \
-}
-
#endif //M_WWI_COMMONHEADERS_H \ No newline at end of file