diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-08 11:15:55 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-08 11:15:55 +0000 |
commit | 81517a42a3b73dfa62364d507b0d7adae3261880 (patch) | |
tree | c56292c7921cdea77c78ea0ff48d2d116ae3ffc0 /plugins/RecentContacts/src | |
parent | 17e1ffb41fd729e5f65a70255ae83917d16340fc (diff) |
added version info
git-svn-id: http://svn.miranda-ng.org/main/trunk@3917 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/RecentContacts/src')
-rw-r--r-- | plugins/RecentContacts/src/RecentContacts.cpp | 16 | ||||
-rw-r--r-- | plugins/RecentContacts/src/RecentContacts.h | 13 | ||||
-rw-r--r-- | plugins/RecentContacts/src/Version.h | 14 |
3 files changed, 25 insertions, 18 deletions
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 <windows.h>
#include <commctrl.h>
#include <string>
#include <map>
#include <xfunctional>
-#include "resource.h"
#include <time.h>
#include <newpluginapi.h>
#include <m_clist.h>
-#include <m_contacts.h>
#include <m_langpack.h>
#include <m_database.h>
-#include <m_system.h>
-#include <m_system_cpp.h>
#include <m_message.h>
-#include <m_utils.h>
-#include <m_icolib.h>
#include <m_hotkeys.h>
#include <m_protosvc.h>
#include <m_options.h>
@@ -30,6 +20,9 @@ #include <m_toptoolbar.h>
+#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"
|