summaryrefslogtreecommitdiff
path: root/plugins/IEHistory
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-29 17:17:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-29 17:17:53 +0300
commitce3aabf865de4adf5c5cdd7ddf809a12d8f9d0f2 (patch)
tree6181984ee8a24b86975d0ab0f7ac4cfdfa34854c /plugins/IEHistory
parent67a82d69d7d2b38b4da32908854cc7c1ec7f0241 (diff)
common version resource extracted to the separate file
own version resource remains only for miranda32.exe, mir_app.dll and pascal plugins
Diffstat (limited to 'plugins/IEHistory')
-rw-r--r--plugins/IEHistory/res/version.rc60
-rw-r--r--plugins/IEHistory/src/IEHistory.cpp2
-rw-r--r--plugins/IEHistory/src/version.h4
3 files changed, 13 insertions, 53 deletions
diff --git a/plugins/IEHistory/res/version.rc b/plugins/IEHistory/res/version.rc
index 300484762c..5a5ddd63ed 100644
--- a/plugins/IEHistory/res/version.rc
+++ b/plugins/IEHistory/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 <m_version.h>
- #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/IEHistory/src/IEHistory.cpp b/plugins/IEHistory/src/IEHistory.cpp
index 9b73741e82..14883311d6 100644
--- a/plugins/IEHistory/src/IEHistory.cpp
+++ b/plugins/IEHistory/src/IEHistory.cpp
@@ -36,7 +36,7 @@ PLUGININFOEX pluginInfoEx = {
sizeof(PLUGININFOEX),
__PLUGIN_DISPLAY_NAME,
__VERSION_DWORD,
- __DESC,
+ __DESCRIPTION,
__AUTHOR,
__COPYRIGHT,
__AUTHORWEB,
diff --git a/plugins/IEHistory/src/version.h b/plugins/IEHistory/src/version.h
index 268378583f..c4847b714e 100644
--- a/plugins/IEHistory/src/version.h
+++ b/plugins/IEHistory/src/version.h
@@ -28,7 +28,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <stdver.h>
-#define __DESC "Shows the history for a given contact using IEView."
+#define __DESCRIPTION "Shows the history for a given contact using IEView."
+#define __PLUGIN_NAME "IE History"
+#define __FILENAME "IEHistory.dll"
#define __AUTHOR "Cristian Libotean, Miranda NG team"
#define __COPYRIGHT "© 2006 Cristian Libotean, 2014-18 Miranda NG team"
#define __AUTHORWEB "https://miranda-ng.org/p/IEHistory"