From 8580a1f565a8c99f6c133a4e75424b0b79b5700c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 1 Dec 2012 10:54:11 +0000 Subject: weather description fix git-svn-id: http://svn.miranda-ng.org/main/trunk@2583 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Weather/src/version.h | 23 ++++++++++++++++++++--- plugins/Weather/src/weather.cpp | 17 +++++++++-------- 2 files changed, 29 insertions(+), 11 deletions(-) (limited to 'plugins/Weather/src') diff --git a/plugins/Weather/src/version.h b/plugins/Weather/src/version.h index c528909dd7..f36385ce1a 100644 --- a/plugins/Weather/src/version.h +++ b/plugins/Weather/src/version.h @@ -1,3 +1,20 @@ -#define __FILEVERSION_STRING 0,4,0,1 -#define __VERSION_STRING "0.4.0.1" -#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0, 4, 0, 1) +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 4 +#define __RELEASE_NUM 0 +#define __BUILD_NUM 1 + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM +#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM + +#define __STRINGIFY_IMPL(x) #x +#define __STRINGIFY(x) __STRINGIFY_IMPL(x) +#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS) + +#define __PLUGIN_NAME "Weather" +#define __INTERNAL_NAME "Weather" +#define __FILENAME "Weather.dll" +#define __DESCRIPTION "Retrieves weather information and displays it in your contact list." +#define __AUTHOR "Miranda NG Team" +#define __AUTHOREMAIL "" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "© 2002-2005 NoName, 2005-2010 Boris Krasnovskiy, 2012 Miranda NG Team" diff --git a/plugins/Weather/src/weather.cpp b/plugins/Weather/src/weather.cpp index 92e17894e7..4d7abb15f7 100644 --- a/plugins/Weather/src/weather.cpp +++ b/plugins/Weather/src/weather.cpp @@ -60,15 +60,16 @@ BOOL ModuleLoaded; static const PLUGININFOEX pluginInfoEx = { sizeof(PLUGININFOEX), - "Weather Protocol", - __VERSION_DWORD, - "Retrieves weather information and displays it in your contact list.", - "Miranda NG Team", - "www.miranda-ng.org", - "(c) 2002-2005 NoName, 2005-2010 Boris Krasnovskiy, 2012 Miranda NG Team", - "http://miranda-ng.org/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, - MIID_WEATHER + // {6B612A34-DCF2-4e32-85CF-B6FD006B745E} + {0x6b612a34, 0xdcf2, 0x4e32, { 0x85, 0xcf, 0xb6, 0xfd, 0x0, 0x6b, 0x74, 0x5e}} }; extern "C" __declspec(dllexport) const PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) -- cgit v1.2.3