summaryrefslogtreecommitdiff
path: root/protocols/IRCG
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 /protocols/IRCG
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 'protocols/IRCG')
-rw-r--r--protocols/IRCG/res/version.rc63
-rw-r--r--protocols/IRCG/src/main.cpp2
-rw-r--r--protocols/IRCG/src/version.h2
3 files changed, 11 insertions, 56 deletions
diff --git a/protocols/IRCG/res/version.rc b/protocols/IRCG/res/version.rc
index c9c4b11576..5a5ddd63ed 100644
--- a/protocols/IRCG/res/version.rc
+++ b/protocols/IRCG/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 <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 "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/protocols/IRCG/src/main.cpp b/protocols/IRCG/src/main.cpp
index e6061eb2bf..69ffe7aa1e 100644
--- a/protocols/IRCG/src/main.cpp
+++ b/protocols/IRCG/src/main.cpp
@@ -43,7 +43,7 @@ static 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/protocols/IRCG/src/version.h b/protocols/IRCG/src/version.h
index 03de9ba40d..8456eff2df 100644
--- a/protocols/IRCG/src/version.h
+++ b/protocols/IRCG/src/version.h
@@ -5,7 +5,7 @@
#include <stdver.h>
-#define __DESC "Internet Relay Chat (IRC) protocol support for Miranda NG."
+#define __DESCRIPTION "Internet Relay Chat (IRC) protocol support for Miranda NG."
#define __AUTHOR "Miranda team"
#define __COPYRIGHT "© 2003-18 Jurgen Persson, George Hazan"
#define __AUTHORWEB "https://miranda-ng.org/p/IRC/"