summaryrefslogtreecommitdiff
path: root/plugins/Bonsai
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-06-05 15:39:50 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-06-05 15:39:50 +0000
commit357af8c5a3cf922818ee014a8f2b54a799917eea (patch)
tree2ed1b38f979d7b3991f9ca9a4103347f2fddfe62 /plugins/Bonsai
parenta039e3378554f4f7b12a38722f72dfded2f4b277 (diff)
removed old PLUGININFO. plugin info cleanup starts
git-svn-id: http://svn.miranda-ng.org/main/trunk@312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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