From 29eb6ad0ee6e9e3657fd4eb02d7c0c665819840a Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Wed, 5 Mar 2014 08:25:28 +0000 Subject: version info added, MSVC 2013 projects added git-svn-id: http://svn.miranda-ng.org/main/trunk@8403 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/historystats_10.vcxproj | 37 +- .../HistoryStats/historystats_10.vcxproj.filters | 9 + plugins/HistoryStats/historystats_12.vcxproj | 411 ++++++++++++++++++ .../HistoryStats/historystats_12.vcxproj.filters | 464 +++++++++++++++++++++ plugins/HistoryStats/res/version.rc | 38 ++ plugins/HistoryStats/src/_globals.h | 2 + plugins/HistoryStats/src/main.cpp | 24 +- plugins/HistoryStats/src/main.h | 2 +- plugins/HistoryStats/src/stdafx.cpp | 18 + plugins/HistoryStats/src/version.h | 14 + 10 files changed, 990 insertions(+), 29 deletions(-) create mode 100644 plugins/HistoryStats/historystats_12.vcxproj create mode 100644 plugins/HistoryStats/historystats_12.vcxproj.filters create mode 100644 plugins/HistoryStats/res/version.rc create mode 100644 plugins/HistoryStats/src/stdafx.cpp create mode 100644 plugins/HistoryStats/src/version.h (limited to 'plugins') diff --git a/plugins/HistoryStats/historystats_10.vcxproj b/plugins/HistoryStats/historystats_10.vcxproj index 70b8dbde7e..24fddd0942 100644 --- a/plugins/HistoryStats/historystats_10.vcxproj +++ b/plugins/HistoryStats/historystats_10.vcxproj @@ -23,6 +23,7 @@ historystats + HistoryStats @@ -80,7 +81,7 @@ Disabled ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;historystats_EXPORTS;%(PreprocessorDefinitions) + WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use @@ -88,7 +89,6 @@ Level3 true EditAndContinue - Default comctl32.lib;%(AdditionalDependencies) @@ -97,6 +97,8 @@ true MachineX86 $(ProfileDir)..\..\bin10\lib + $(IntDir)$(TargetName).lib + Windows _DEBUG;%(PreprocessorDefinitions) @@ -120,7 +122,7 @@ Disabled ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;historystats_EXPORTS;%(PreprocessorDefinitions) + _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use @@ -128,7 +130,6 @@ Level3 true ProgramDatabase - Default comctl32.lib;%(AdditionalDependencies) @@ -136,6 +137,8 @@ true true $(ProfileDir)..\..\bin10\lib + $(IntDir)$(TargetName).lib + Windows _DEBUG;%(PreprocessorDefinitions) @@ -159,11 +162,10 @@ Full OnlyExplicitInline ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;historystats_EXPORTS;%(PreprocessorDefinitions) + WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) false false true - MultiThreadedDLL true Use _globals.h @@ -171,7 +173,6 @@ Level3 true - Default Size @@ -182,6 +183,9 @@ true true $(ProfileDir)..\..\bin10\lib + /PDBALTPATH:%_PDB% %(AdditionalOptions) + $(IntDir)$(TargetName).lib + Windows NDEBUG;%(PreprocessorDefinitions) @@ -206,11 +210,10 @@ Full OnlyExplicitInline ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;historystats_EXPORTS;%(PreprocessorDefinitions) + NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) false false true - MultiThreadedDLL true Use _globals.h @@ -218,7 +221,6 @@ Level3 true - Default Size @@ -228,6 +230,9 @@ true true $(ProfileDir)..\..\bin10\lib + /PDBALTPATH:%_PDB% %(AdditionalOptions) + $(IntDir)$(TargetName).lib + Windows NDEBUG;%(PreprocessorDefinitions) @@ -247,13 +252,11 @@ - - - Create - Create - Create - Create + + Create + + @@ -309,6 +312,7 @@ + @@ -396,6 +400,7 @@ + diff --git a/plugins/HistoryStats/historystats_10.vcxproj.filters b/plugins/HistoryStats/historystats_10.vcxproj.filters index 2ec7f779d3..81ec8df595 100644 --- a/plugins/HistoryStats/historystats_10.vcxproj.filters +++ b/plugins/HistoryStats/historystats_10.vcxproj.filters @@ -196,6 +196,9 @@ Source Files + + Source Files + @@ -345,6 +348,9 @@ Utils Header Files + + Source Files + @@ -451,5 +457,8 @@ Resource Files + + Resource Files + \ No newline at end of file diff --git a/plugins/HistoryStats/historystats_12.vcxproj b/plugins/HistoryStats/historystats_12.vcxproj new file mode 100644 index 0000000000..3a1471df3d --- /dev/null +++ b/plugins/HistoryStats/historystats_12.vcxproj @@ -0,0 +1,411 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {B5BCDC2F-81FC-4324-90C6-E5540A225EFF} + historystats + + + HistoryStats + + + + DynamicLibrary + false + Unicode + true + v120_xp + + + DynamicLibrary + Unicode + true + v120_xp + + + DynamicLibrary + false + Unicode + v120_xp + + + DynamicLibrary + Unicode + v120_xp + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + true + true + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + false + false + + + + Disabled + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + Use + _globals.h + Level3 + true + EditAndContinue + + + comctl32.lib;%(AdditionalDependencies) + true + true + true + MachineX86 + $(ProfileDir)..\..\bin10\lib + $(IntDir)$(TargetName).lib + false + Windows + + + _DEBUG;%(PreprocessorDefinitions) + true + true + Win32 + $(OutDir)historystats.tlb + + + + + + + + + _DEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi + + + + + Disabled + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + Use + _globals.h + Level3 + true + ProgramDatabase + + + comctl32.lib;%(AdditionalDependencies) + true + true + true + $(ProfileDir)..\..\bin10\lib + $(IntDir)$(TargetName).lib + Windows + + + _DEBUG;%(PreprocessorDefinitions) + true + true + $(OutDir)historystats.tlb + + + + + + + + + _DEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi + + + + + Full + OnlyExplicitInline + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + false + false + true + true + Use + _globals.h + + + Level3 + true + Size + + + comctl32.lib;%(AdditionalDependencies) + true + MachineX86 + true + true + true + $(ProfileDir)..\..\bin10\lib + $(IntDir)$(TargetName).lib + Windows + + + NDEBUG;%(PreprocessorDefinitions) + true + true + Win32 + $(OutDir)historystats.tlb + + + + + + + + + NDEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi + + + + + Full + OnlyExplicitInline + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + false + false + true + true + Use + _globals.h + + + Level3 + true + Size + + + comctl32.lib;%(AdditionalDependencies) + true + true + true + true + $(ProfileDir)..\..\bin10\lib + $(IntDir)$(TargetName).lib + Windows + + + NDEBUG;%(PreprocessorDefinitions) + true + true + $(OutDir)historystats.tlb + + + + + + + + + NDEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi + + + + + Create + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/plugins/HistoryStats/historystats_12.vcxproj.filters b/plugins/HistoryStats/historystats_12.vcxproj.filters new file mode 100644 index 0000000000..81ec8df595 --- /dev/null +++ b/plugins/HistoryStats/historystats_12.vcxproj.filters @@ -0,0 +1,464 @@ + + + + + {00c9961a-7513-4304-a681-1346ebe08865} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {7d5a22fd-afc8-4aeb-a875-986577feffb4} + h;hpp;hxx;hm;inl + + + {56f89ff7-f217-456c-8027-eac445d93449} + ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + {0f0c8df9-d471-4e4f-aaab-7826c245caf4} + cpp + + + {7d77a245-572c-4352-889e-a35609e122ee} + h + + + {284d0639-ebbd-45ee-8a89-f42151a8cefa} + cpp + + + {cefdf26c-a770-4d27-b91f-d9bf71151b0e} + h + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Column Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Column Header Files + + + Utils Header Files + + + Source Files + + + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + Resource Files + + + + + Resource Files + + + Resource Files + + + \ No newline at end of file diff --git a/plugins/HistoryStats/res/version.rc b/plugins/HistoryStats/res/version.rc new file mode 100644 index 0000000000..5bfbab4754 --- /dev/null +++ b/plugins/HistoryStats/res/version.rc @@ -0,0 +1,38 @@ +// Microsoft Visual C++ generated resource script. +// +#ifdef APSTUDIO_INVOKED +#error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + +#include "afxres.h" +#include "..\src\version.h" + +VS_VERSION_INFO VERSIONINFO + FILEVERSION __FILEVERSION_STRING + PRODUCTVERSION __FILEVERSION_STRING + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" + BEGIN + VALUE "FileDescription", __DESCRIPTION + VALUE "InternalName", __PLUGIN_NAME + VALUE "LegalCopyright", __COPYRIGHT + VALUE "OriginalFilename", __FILENAME + VALUE "ProductName", __PLUGIN_NAME + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0, 1200 + END +END diff --git a/plugins/HistoryStats/src/_globals.h b/plugins/HistoryStats/src/_globals.h index a4368cf083..0b9e033a63 100644 --- a/plugins/HistoryStats/src/_globals.h +++ b/plugins/HistoryStats/src/_globals.h @@ -14,6 +14,8 @@ #include "mu_common.h" +#include "version.h" + /* * essential includes */ diff --git a/plugins/HistoryStats/src/main.cpp b/plugins/HistoryStats/src/main.cpp index 509d5f53a1..6250d5af43 100644 --- a/plugins/HistoryStats/src/main.cpp +++ b/plugins/HistoryStats/src/main.cpp @@ -17,18 +17,18 @@ int hLangpack; static const int g_pluginFileListID = 2535; -const PLUGININFOEX g_pluginInfoEx = { - /* .cbSize = */ sizeof(PLUGININFOEX), - /* .shortName = */ muA("HistoryStats"), - /* .version = */ PLUGIN_MAKE_VERSION(0, 1, 5, 3), - /* .description = */ muA("Creates nice statistics using your message history.\r\n") - muA("(Requires Miranda IM ") MU_DO_BOTH(muA("0.6.7"), muA("0.6.7 Unicode")) muA(" or above.)"), - /* .author = */ muA("Martin Afanasjew"), - /* .authorEmail = */ muA("miranda@dark-passage.de"), - /* .copyright = */ muA("2005-2007 by Martin Afanasjew (see README for further credits)"), - /* .homepage = */ muA("http://addons.miranda-im.org/details.php?action=viewfile&id=") MU_DO_BOTH(muA("2534"), muA("2535")), - /* .flags = */ UNICODE_AWARE, - /* .uuid = */ { 0xf184f5a0, 0xc198, 0x4454, { 0xa9, 0xb4, 0xf6, 0xe2, 0xfd, 0x53, 0x41, 0x33 } }, +PLUGININFOEX g_pluginInfoEx = { + sizeof(PLUGININFOEX), + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, + UNICODE_AWARE, + // {F184F5A0-C198-4454-A9B4-F6E2FD534133} + {0xf184f5a0, 0xc198, 0x4454, {0xa9, 0xb4, 0xf6, 0xe2, 0xfd, 0x53, 0x41, 0x33}}, }; SettingsSerializer* g_pSettings = NULL; diff --git a/plugins/HistoryStats/src/main.h b/plugins/HistoryStats/src/main.h index cc0292adb9..51b5ea21f9 100644 --- a/plugins/HistoryStats/src/main.h +++ b/plugins/HistoryStats/src/main.h @@ -9,7 +9,7 @@ extern HINSTANCE g_hInst; -extern const PLUGININFOEX g_pluginInfoEx; +extern PLUGININFOEX g_pluginInfoEx; extern SettingsSerializer* g_pSettings; diff --git a/plugins/HistoryStats/src/stdafx.cpp b/plugins/HistoryStats/src/stdafx.cpp new file mode 100644 index 0000000000..26e3a4ab34 --- /dev/null +++ b/plugins/HistoryStats/src/stdafx.cpp @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-14 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "_globals.h" \ No newline at end of file diff --git a/plugins/HistoryStats/src/version.h b/plugins/HistoryStats/src/version.h new file mode 100644 index 0000000000..28c23a27c4 --- /dev/null +++ b/plugins/HistoryStats/src/version.h @@ -0,0 +1,14 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 1 +#define __RELEASE_NUM 5 +#define __BUILD_NUM 3 + +#include + +#define __PLUGIN_NAME "HistoryStats" +#define __FILENAME "HistoryStats.dll" +#define __DESCRIPTION "Creates nice statistics using your message history." +#define __AUTHOR "Martin Afanasjew" +#define __AUTHOREMAIL "miranda@dark-passage.de" +#define __AUTHORWEB "http://miranda-ng.org/p/HistoryStats/" +#define __COPYRIGHT "© 2005-2007 by Martin Afanasjew (see README for further credits)" -- cgit v1.2.3