diff options
Diffstat (limited to 'plugins/AvatarHistory/src')
-rw-r--r-- | plugins/AvatarHistory/src/AvatarHistory.cpp | 14 | ||||
-rw-r--r-- | plugins/AvatarHistory/src/AvatarHistory.h | 1 | ||||
-rw-r--r-- | plugins/AvatarHistory/src/Version.h | 20 |
3 files changed, 28 insertions, 7 deletions
diff --git a/plugins/AvatarHistory/src/AvatarHistory.cpp b/plugins/AvatarHistory/src/AvatarHistory.cpp index d6e41d02d7..a49fa28786 100644 --- a/plugins/AvatarHistory/src/AvatarHistory.cpp +++ b/plugins/AvatarHistory/src/AvatarHistory.cpp @@ -60,13 +60,13 @@ BOOL CreateShortcut(TCHAR *file, TCHAR *shortcut); PLUGININFOEX pluginInfo={ sizeof(PLUGININFOEX), - "Avatar History", - PLUGIN_MAKE_VERSION(0,0,3,3), - "This plugin keeps backups of all your contacts' avatar changes and/or shows popups.", - "Matthew Wild (MattJ), Ricardo Pescuma Domenecci", - "mwild1@gmail.com", - "© 2006-2012 Matthew Wild, Ricardo Pescuma Domenecci", - "http://miranda-ng.org/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, { 0xdbe8c990, 0x7aa0, 0x458d, { 0xba, 0xb7, 0x33, 0xeb, 0x7, 0x23, 0x8e, 0x71 } } // {DBE8C990-7AA0-458d-BAB7-33EB07238E71} }; diff --git a/plugins/AvatarHistory/src/AvatarHistory.h b/plugins/AvatarHistory/src/AvatarHistory.h index 5ac36d55f7..d58525e618 100644 --- a/plugins/AvatarHistory/src/AvatarHistory.h +++ b/plugins/AvatarHistory/src/AvatarHistory.h @@ -32,6 +32,7 @@ #include "m_historyevents.h"
#include "resource.h"
+#include "Version.h"
#include "../utils/mir_buffer.h"
// Globals
diff --git a/plugins/AvatarHistory/src/Version.h b/plugins/AvatarHistory/src/Version.h new file mode 100644 index 0000000000..12a4806ad1 --- /dev/null +++ b/plugins/AvatarHistory/src/Version.h @@ -0,0 +1,20 @@ +#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 0
+#define __RELEASE_NUM 3
+#define __BUILD_NUM 3
+
+#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 "Avatar History"
+#define __INTERNAL_NAME "AvatarHistory"
+#define __FILENAME "AvatarHistory.dll"
+#define __DESCRIPTION "This plugin keeps backups of all your contacts' avatar changes and/or shows popups."
+#define __AUTHOR "Matthew Wild (MattJ), Ricardo Pescuma Domenecci"
+#define __AUTHOREMAIL "mwild1@gmail.com"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "© 2006-2012 Matthew Wild, Ricardo Pescuma Domenecci"
|