From 4f76c4c4b6fbc6ab43d7106fe2119454a10d22d4 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 23 Feb 2013 14:43:26 +0000 Subject: added version info git-svn-id: http://svn.miranda-ng.org/main/trunk@3727 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/db3x_mmap_10.vcxproj | 10 ++++++---- plugins/Db3x_mmap/db3x_mmap_10.vcxproj.filters | 6 ++++++ plugins/Db3x_mmap/db3x_mmap_11.vcxproj | 10 ++++++---- plugins/Db3x_mmap/db3x_mmap_11.vcxproj.filters | 6 ++++++ plugins/Db3x_mmap/res/version.rc | 26 +++++++++++--------------- plugins/Db3x_mmap/src/init.cpp | 17 +++++++++-------- plugins/Db3x_mmap/src/version.h | 17 ++++++++++++++--- 7 files changed, 58 insertions(+), 34 deletions(-) (limited to 'plugins') diff --git a/plugins/Db3x_mmap/db3x_mmap_10.vcxproj b/plugins/Db3x_mmap/db3x_mmap_10.vcxproj index 55dc561f42..86ced1695b 100644 --- a/plugins/Db3x_mmap/db3x_mmap_10.vcxproj +++ b/plugins/Db3x_mmap/db3x_mmap_10.vcxproj @@ -73,7 +73,7 @@ Disabled ..\..\include;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS;%(PreprocessorDefinitions) + WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL true @@ -102,7 +102,7 @@ Disabled ..\..\include;%(AdditionalIncludeDirectories) - WIN64;_DEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS;%(PreprocessorDefinitions) + WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) false EnableFastChecks MultiThreadedDebugDLL @@ -132,7 +132,7 @@ OnlyExplicitInline Size ..\..\include;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS;%(PreprocessorDefinitions) + WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) true false false @@ -164,7 +164,7 @@ OnlyExplicitInline Size ..\..\include;%(AdditionalIncludeDirectories) - WIN64;NDEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS;%(PreprocessorDefinitions) + WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) true false false @@ -236,6 +236,8 @@ + + diff --git a/plugins/Db3x_mmap/db3x_mmap_10.vcxproj.filters b/plugins/Db3x_mmap/db3x_mmap_10.vcxproj.filters index d965eacf7d..c775e8db4e 100644 --- a/plugins/Db3x_mmap/db3x_mmap_10.vcxproj.filters +++ b/plugins/Db3x_mmap/db3x_mmap_10.vcxproj.filters @@ -89,6 +89,12 @@ Header Files + + Header Files + + + Header Files + diff --git a/plugins/Db3x_mmap/db3x_mmap_11.vcxproj b/plugins/Db3x_mmap/db3x_mmap_11.vcxproj index 26f510e393..89b60b6a9c 100644 --- a/plugins/Db3x_mmap/db3x_mmap_11.vcxproj +++ b/plugins/Db3x_mmap/db3x_mmap_11.vcxproj @@ -77,7 +77,7 @@ Disabled ..\..\include;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS;%(PreprocessorDefinitions) + WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL true @@ -106,7 +106,7 @@ Disabled ..\..\include;%(AdditionalIncludeDirectories) - WIN64;_DEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS;%(PreprocessorDefinitions) + WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) false EnableFastChecks MultiThreadedDebugDLL @@ -136,7 +136,7 @@ OnlyExplicitInline Size ..\..\include;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS;%(PreprocessorDefinitions) + WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) true false false @@ -168,7 +168,7 @@ OnlyExplicitInline Size ..\..\include;%(AdditionalIncludeDirectories) - WIN64;NDEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS;%(PreprocessorDefinitions) + WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) true false false @@ -240,6 +240,8 @@ + + diff --git a/plugins/Db3x_mmap/db3x_mmap_11.vcxproj.filters b/plugins/Db3x_mmap/db3x_mmap_11.vcxproj.filters index d965eacf7d..c775e8db4e 100644 --- a/plugins/Db3x_mmap/db3x_mmap_11.vcxproj.filters +++ b/plugins/Db3x_mmap/db3x_mmap_11.vcxproj.filters @@ -89,6 +89,12 @@ Header Files + + Header Files + + + Header Files + diff --git a/plugins/Db3x_mmap/res/version.rc b/plugins/Db3x_mmap/res/version.rc index d49f35ded0..5bfbab4754 100644 --- a/plugins/Db3x_mmap/res/version.rc +++ b/plugins/Db3x_mmap/res/version.rc @@ -1,15 +1,12 @@ +// Microsoft Visual C++ generated resource script. +// #ifdef APSTUDIO_INVOKED #error this file is not editable by Microsoft Visual C++ #endif //APSTUDIO_INVOKED -#include +#include "afxres.h" #include "..\src\version.h" -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - VS_VERSION_INFO VERSIONINFO FILEVERSION __FILEVERSION_STRING PRODUCTVERSION __FILEVERSION_STRING @@ -20,23 +17,22 @@ VS_VERSION_INFO VERSIONINFO FILEFLAGS 0x0L #endif FILEOS 0x4L - FILETYPE 0x2L + FILETYPE 0x0L FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN - BLOCK "041904b0" + BLOCK "000004b0" BEGIN - VALUE "FileDescription", "Miranda NG Mmap DataBase Engine 3x" - VALUE "FileVersion", __VERSION_STRING - VALUE "LegalCopyright", "Copyright (C) 2012" - VALUE "OriginalFilename", "dbx_mmap.dll" - VALUE "ProductName", "Miranda NG Mmap DataBase Engine 3x" - VALUE "ProductVersion", __VERSION_STRING + VALUE "FileDescription", __DESCRIPTION + VALUE "InternalName", __PLUGIN_NAME + VALUE "LegalCopyright", __COPYRIGHT + VALUE "OriginalFilename", __FILENAME + VALUE "ProductName", __PLUGIN_NAME END END BLOCK "VarFileInfo" BEGIN - VALUE "Translation", 0x419, 1200 + VALUE "Translation", 0x0, 1200 END END diff --git a/plugins/Db3x_mmap/src/init.cpp b/plugins/Db3x_mmap/src/init.cpp index 2e18dc6b57..30c0e9294f 100644 --- a/plugins/Db3x_mmap/src/init.cpp +++ b/plugins/Db3x_mmap/src/init.cpp @@ -28,15 +28,16 @@ int hLangpack; static PLUGININFOEX pluginInfo = { sizeof(PLUGININFOEX), - "Miranda NG mmap database driver", - __VERSION_DWORD, - "Provides Miranda database support: global settings, contacts, history, settings per contact.", - "Miranda-NG project", - "bio@msx.ru; ghazan@miranda.im", - "Copyright 2012 Miranda NG project", - "http://miranda-ng.org/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE | STATIC_PLUGIN, - {0xf7a6b27c, 0x9d9c, 0x4a42, { 0xbe, 0x86, 0xa4, 0x48, 0xae, 0x10, 0x91, 0x61 }} //{F7A6B27C-9D9C-4a42-BE86-A448AE109161} + //{F7A6B27C-9D9C-4A42-BE86-A448AE109161} + {0xf7a6b27c, 0x9d9c, 0x4a42, {0xbe, 0x86, 0xa4, 0x48, 0xae, 0x10, 0x91, 0x61}} }; HINSTANCE g_hInst = NULL; diff --git a/plugins/Db3x_mmap/src/version.h b/plugins/Db3x_mmap/src/version.h index 0231d7a7ea..21e3fcff11 100644 --- a/plugins/Db3x_mmap/src/version.h +++ b/plugins/Db3x_mmap/src/version.h @@ -1,3 +1,14 @@ -#define __FILEVERSION_STRING 0,11,0,1 -#define __VERSION_STRING "0.11.0.1" -#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0, 11, 0, 1) +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 11 +#define __RELEASE_NUM 0 +#define __BUILD_NUM 1 + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM + +#define __PLUGIN_NAME "Miranda NG mmap database driver" +#define __FILENAME "Dbx_mmap.dll" +#define __DESCRIPTION "Provides Miranda database support: global settings, contacts, history, settings per contact." +#define __AUTHOR "Miranda-NG project" +#define __AUTHOREMAIL "bio@msx.ru; ghazan@miranda.im" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "© 2012-13 Miranda NG project" -- cgit v1.2.3