summaryrefslogtreecommitdiff
path: root/plugins/Exchange
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/Exchange
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/Exchange')
-rw-r--r--plugins/Exchange/res/version.rc60
-rw-r--r--plugins/Exchange/src/exchange.cpp4
-rw-r--r--plugins/Exchange/src/version.h6
3 files changed, 14 insertions, 56 deletions
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 <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/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 <stdver.h>
-#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