From 81517a42a3b73dfa62364d507b0d7adae3261880 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 8 Mar 2013 11:15:55 +0000 Subject: added version info git-svn-id: http://svn.miranda-ng.org/main/trunk@3917 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/RecentContacts/src/RecentContacts.cpp | 16 ++++++++-------- plugins/RecentContacts/src/RecentContacts.h | 13 +++---------- plugins/RecentContacts/src/Version.h | 14 ++++++++++++++ 3 files changed, 25 insertions(+), 18 deletions(-) create mode 100644 plugins/RecentContacts/src/Version.h (limited to 'plugins/RecentContacts/src') diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp index 51f5ab24c0..81fa8437f9 100644 --- a/plugins/RecentContacts/src/RecentContacts.cpp +++ b/plugins/RecentContacts/src/RecentContacts.cpp @@ -35,15 +35,15 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) PLUGININFOEX pluginInfo = { sizeof(PLUGININFOEX), - "Recent Contacts", - PLUGIN_MAKE_VERSION(0,0,2,0), - "Adds a menu item in main menu, which open the window with list of last used contacts names, sorted in order from most recent to least.", - "ValeraVi, Kildor", - "kostia@ngs.ru", - "© 2005 ValeraVi, © 2009 Kildor", - "http://miranda-ng.org/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, - // 0e5f3b9d-ebcd-44d7-9374-d8e5d88df4e3 + // {0E5F3B9D-EBCD-44D7-9374-D8E5D88DF4E3} {0x0e5f3b9d, 0xebcd, 0x44d7, {0x93, 0x74, 0xd8, 0xe5, 0xd8, 0x8d, 0xf4, 0xe3}} }; diff --git a/plugins/RecentContacts/src/RecentContacts.h b/plugins/RecentContacts/src/RecentContacts.h index 6eb98986a7..246bc9d8b0 100644 --- a/plugins/RecentContacts/src/RecentContacts.h +++ b/plugins/RecentContacts/src/RecentContacts.h @@ -1,28 +1,18 @@ - -#pragma once - #define _CRT_SECURE_NO_WARNINGS #define _CRT_NONSTDC_NO_DEPRECATE -#define MIRANDA_VER 0x0A00 #include #include #include #include #include -#include "resource.h" #include #include #include -#include #include #include -#include -#include #include -#include -#include #include #include #include @@ -30,6 +20,9 @@ #include +#include "resource.h" +#include "Version.h" + #define V_RECENTCONTACTS_TOGGLE_IGNORE "RecentContacts/ToggleIgnore" using namespace std; diff --git a/plugins/RecentContacts/src/Version.h b/plugins/RecentContacts/src/Version.h new file mode 100644 index 0000000000..e959b4ddad --- /dev/null +++ b/plugins/RecentContacts/src/Version.h @@ -0,0 +1,14 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 2 +#define __BUILD_NUM 0 + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM + +#define __PLUGIN_NAME "Recent contacts" +#define __FILENAME "RecentContacts.dll" +#define __DESCRIPTION "Adds a menu item in main menu, which open the window with list of last used contacts names, sorted in order from most recent to least." +#define __AUTHOR "ValeraVi, Kildor" +#define __AUTHOREMAIL "kostia@ngs.ru" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "© 2005 ValeraVi, © 2009 Kildor" -- cgit v1.2.3