From 0b80d7b748a7ded8b0301f4006ba0612c65a6877 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sun, 21 Oct 2012 06:17:38 +0000 Subject: Boltun: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@2009 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Boltun/res/Version.rc | 38 ++++++++++++++++++++++++++++++++++++++ plugins/Boltun/src/Version.h | 20 ++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 plugins/Boltun/res/Version.rc create mode 100644 plugins/Boltun/src/Version.h diff --git a/plugins/Boltun/res/Version.rc b/plugins/Boltun/res/Version.rc new file mode 100644 index 0000000000..5bfbab4754 --- /dev/null +++ b/plugins/Boltun/res/Version.rc @@ -0,0 +1,38 @@ +// Microsoft Visual C++ generated resource script. +// +#ifdef APSTUDIO_INVOKED +#error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + +#include "afxres.h" +#include "..\src\version.h" + +VS_VERSION_INFO VERSIONINFO + FILEVERSION __FILEVERSION_STRING + PRODUCTVERSION __FILEVERSION_STRING + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" + BEGIN + VALUE "FileDescription", __DESCRIPTION + 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 diff --git a/plugins/Boltun/src/Version.h b/plugins/Boltun/src/Version.h new file mode 100644 index 0000000000..fe4c9a6a5d --- /dev/null +++ b/plugins/Boltun/src/Version.h @@ -0,0 +1,20 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 3 +#define __BUILD_NUM 0 + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM +#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM + +#define __STRINGIFY_IMPL(x) #x +#define __STRINGIFY(x) __STRINGIFY_IMPL(x) +#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS) + +#define __PLUGIN_NAME "Boltun" +#define __INTERNAL_NAME "Boltun" +#define __FILENAME "Boltun.dll" +#define __DESCRIPTION "Boltun, the chat bot in the russian language." +#define __AUTHOR "Alexander S. Kiselev, Valentin Pavlyuchenko" +#define __AUTHOREMAIL "Valentin.Pavlyuchenko@gmail.com" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "© 2003-2008 Alexander S. Kiselev A.K.A. KAS, Valentin Pavlyuchenko" -- cgit v1.2.3