From c7ab7ad31fd3b26000e24d63101137115155d7a9 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 23 Oct 2012 21:01:59 +0000 Subject: FacebookRM: version info standartization git-svn-id: http://svn.miranda-ng.org/main/trunk@2064 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/main.cpp | 15 ++++++++------- protocols/FacebookRM/src/version.h | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 protocols/FacebookRM/src/version.h (limited to 'protocols/FacebookRM/src') diff --git a/protocols/FacebookRM/src/main.cpp b/protocols/FacebookRM/src/main.cpp index 5928b85499..0ba94f5974 100644 --- a/protocols/FacebookRM/src/main.cpp +++ b/protocols/FacebookRM/src/main.cpp @@ -21,6 +21,7 @@ along with this program. If not, see . */ #include "common.h" +#include "version.h" // TODO: Make following as "globals" structure? @@ -33,13 +34,13 @@ DWORD g_mirandaVersion; PLUGININFOEX pluginInfo = { sizeof(PLUGININFOEX), - "Facebook Protocol RM", - __VERSION_DWORD, - "Provides basic support for Facebook Chat protocol.", - "Michal Zelinka, Robert Posel", - "robyer@seznam.cz", - "(c) 2009-11 Michal Zelinka, 2011-12 Robert Posel", - "http://miranda-ng.org/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, // {8432B009-FF32-4727-AAE6-A9035038FD58} { 0x8432b009, 0xff32, 0x4727, { 0xaa, 0xe6, 0xa9, 0x3, 0x50, 0x38, 0xfd, 0x58 } } diff --git a/protocols/FacebookRM/src/version.h b/protocols/FacebookRM/src/version.h new file mode 100644 index 0000000000..e4c63007e3 --- /dev/null +++ b/protocols/FacebookRM/src/version.h @@ -0,0 +1,20 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 9 +#define __BUILD_NUM 2 + +#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 "Facebook RM" +#define __INTERNAL_NAME "Facebook RM" +#define __FILENAME "Facebook.dll" +#define __DESCRIPTION "Facebook protocol plugin for Miranda NG." +#define __AUTHOR "Michal Zelinka, Robert Posel" +#define __AUTHOREMAIL "robyer@seznam.cz" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "(c) 2009-11 Michal Zelinka, 2011-12 Robert Posel" -- cgit v1.2.3