From ce3aabf865de4adf5c5cdd7ddf809a12d8f9d0f2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 29 May 2018 17:17:53 +0300 Subject: common version resource extracted to the separate file own version resource remains only for miranda32.exe, mir_app.dll and pascal plugins --- plugins/StatusManager/res/version.rc | 63 ++++++------------------------------ plugins/StatusManager/src/main.cpp | 2 +- plugins/StatusManager/src/version.h | 2 +- 3 files changed, 11 insertions(+), 56 deletions(-) (limited to 'plugins/StatusManager') diff --git a/plugins/StatusManager/res/version.rc b/plugins/StatusManager/res/version.rc index c9c4b11576..5a5ddd63ed 100644 --- a/plugins/StatusManager/res/version.rc +++ b/plugins/StatusManager/res/version.rc @@ -1,54 +1,9 @@ -// Microsoft Visual C++ generated resource script. -// -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - -#include "..\src\version.h" -#include - #define APSTUDIO_READONLY_SYMBOLS -#include "afxres.h" -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -VS_VERSION_INFO VERSIONINFO - FILEVERSION __FILEVERSION_STRING - PRODUCTVERSION MIRANDA_VERSION_COREVERSION - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x2L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "000004b0" - BEGIN - VALUE "Author", __AUTHOR - VALUE "FileVersion", __VERSION_STRING - 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 - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// +// Microsoft Visual C++ generated resource script. +// +#ifdef APSTUDIO_INVOKED +#error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + +#include "..\src\version.h" + +#include "..\..\build\Version.rc" diff --git a/plugins/StatusManager/src/main.cpp b/plugins/StatusManager/src/main.cpp index 1e6b949f1c..14116c9033 100644 --- a/plugins/StatusManager/src/main.cpp +++ b/plugins/StatusManager/src/main.cpp @@ -28,7 +28,7 @@ PLUGININFOEX pluginInfoEx = { sizeof(PLUGININFOEX), __PLUGIN_NAME, PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), - __DESC, + __DESCRIPTION, __AUTHOR, __COPYRIGHT, __AUTHORWEB, diff --git a/plugins/StatusManager/src/version.h b/plugins/StatusManager/src/version.h index b16d6f952c..0ca0207b67 100644 --- a/plugins/StatusManager/src/version.h +++ b/plugins/StatusManager/src/version.h @@ -10,7 +10,7 @@ // stuff that will be used in PluginInfo section and in Version resource #define __PLUGIN_NAME "Status manager" #define __FILENAME "StatusManager.dll" -#define __DESC "A connection checker and auto away module. Also allows you to define the status Miranda should set on startup, configurable per protocol." +#define __DESCRIPTION "A connection checker and auto away module. Also allows you to define the status Miranda should set on startup, configurable per protocol." #define __AUTHOR "P Boon" #define __AUTHORWEB "https://miranda-ng.org/p/StatusManager/" #define __COPYRIGHT "© 2003-08 P. Boon, 2008-18 George Hazan" -- cgit v1.2.3