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/Exchange/res/version.rc | 60 ++++++--------------------------------- plugins/Exchange/src/exchange.cpp | 4 +-- plugins/Exchange/src/version.h | 6 ++-- 3 files changed, 14 insertions(+), 56 deletions(-) (limited to 'plugins/Exchange') diff --git a/plugins/Exchange/res/version.rc b/plugins/Exchange/res/version.rc index 300484762c..5a5ddd63ed 100644 --- a/plugins/Exchange/res/version.rc +++ b/plugins/Exchange/res/version.rc @@ -1,51 +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 "LegalCopyright", __COPYRIGHT - 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/Exchange/src/exchange.cpp b/plugins/Exchange/src/exchange.cpp index e8dbc094ce..772faf237c 100644 --- a/plugins/Exchange/src/exchange.cpp +++ b/plugins/Exchange/src/exchange.cpp @@ -32,9 +32,9 @@ CExchangeServer exchangeServer; PLUGININFOEX pluginInfoEx = { sizeof(PLUGININFOEX), - __PLUGIN_DISPLAY_NAME, + __PLUGIN_NAME, __VERSION_DWORD, - __DESC, + __DESCRIPTION, __AUTHOR, __COPYRIGHT, __AUTHORWEB, diff --git a/plugins/Exchange/src/version.h b/plugins/Exchange/src/version.h index 7f6ca48b3d..1d70b609a6 100644 --- a/plugins/Exchange/src/version.h +++ b/plugins/Exchange/src/version.h @@ -28,11 +28,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include -#define __DESC "Notifies you if you have unread email on an exchange server." +#define __PLUGIN_NAME "Exchange notifier plugin" +#define __FILENAME "Exchange.dll" +#define __DESCRIPTION "Notifies you if you have unread email on an exchange server." #define __AUTHOR "Cristian Libotean, Attila Vajda, MaKaR (NG)" #define __COPYRIGHT "© 2006-13 Cristian Libotean and Attila Vajda" #define __AUTHORWEB "https://miranda-ng.org/p/Exchange/" -#define __PLUGIN_DISPLAY_NAME "Exchange notifier plugin" - #endif //M_EXCHANGE_VERSION_H -- cgit v1.2.3