From fb866177c8ce8b2f0bb779fbf42cd988dc7d5e13 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 12 Oct 2012 20:26:34 +0000 Subject: SeenPlugin: version.h added git-svn-id: http://svn.miranda-ng.org/main/trunk@1897 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SeenPlugin/res/version.rc | 34 ++++++++++++++++---------------- plugins/SeenPlugin/src/main.cpp | 17 ++++++++-------- plugins/SeenPlugin/src/version.h | 41 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 25 deletions(-) create mode 100644 plugins/SeenPlugin/src/version.h (limited to 'plugins/SeenPlugin') diff --git a/plugins/SeenPlugin/res/version.rc b/plugins/SeenPlugin/res/version.rc index 26119cf8dd..8f4ac7323e 100644 --- a/plugins/SeenPlugin/res/version.rc +++ b/plugins/SeenPlugin/res/version.rc @@ -1,37 +1,37 @@ +#ifdef APSTUDIO_INVOKED +#error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + +#include "afxres.h" +#include "..\src\version.h" + ///////////////////////////////////////////////////////////////////////////// // // Version // VS_VERSION_INFO VERSIONINFO - FILEVERSION 5,0,4,7 - PRODUCTVERSION 5,0,4,7 - FILEFLAGSMASK 0x3fL + FILEVERSION __FILEVERSION_STRING + PRODUCTVERSION __FILEVERSION_STRING + FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L #else FILEFLAGS 0x0L #endif - FILEOS 0x40004L - FILETYPE 0x2L + FILEOS 0x4L + FILETYPE 0x0L FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "000004b0" BEGIN - VALUE "Comments", "Last Seen Mod Plugin for Miranda NG\0" - VALUE "CompanyName", "Heiko Schillinger, YB\0" - VALUE "FileDescription", "Last Seen Plugin (NSN Compatible)\0" - VALUE "FileVersion", "5.0.4.7\0" - VALUE "InternalName", "Last Seen\0" - VALUE "LegalCopyright", "ฉ 2001-2002 by Heiko Schillinger, 2003 by Bruno Rino, 2006 by YB\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "seenplugin.dll\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", " Last Seen Plugin Mod\0" - VALUE "ProductVersion", "5.0.4.7\0" - VALUE "SpecialBuild", "\0" + VALUE "FileDescription", __DESCRIPTION + VALUE "InternalName", __PLUGIN_NAME + VALUE "LegalCopyright", __COPYRIGHT + VALUE "OriginalFilename", __FILENAME + VALUE "ProductName", __PLUGIN_NAME END END BLOCK "VarFileInfo" diff --git a/plugins/SeenPlugin/src/main.cpp b/plugins/SeenPlugin/src/main.cpp index 405804dc95..6a7820d203 100644 --- a/plugins/SeenPlugin/src/main.cpp +++ b/plugins/SeenPlugin/src/main.cpp @@ -23,21 +23,22 @@ Last change on : $Date: 2007-12-30 04:55:51 +0300 (ะ’ั, 30 ะดะตะบ 2007) $ Last change by : $Author: y_b $ */ #include "seen.h" +#include "version.h" HINSTANCE hInstance; HANDLE ehdb = NULL, ehproto = NULL, ehmissed = NULL, ehuserinfo = NULL, ehmissed_proto = NULL, hOptInit = NULL, hMainInit = NULL; int hLangpack; -PLUGININFOEX pluginInfo = { +PLUGININFOEX pluginInfo={ sizeof(PLUGININFOEX), - "Last seen", - PLUGIN_MAKE_VERSION(5,1,0,0), - "Log when a user was last seen online and which users were online while you were away.", - "Heiko Schillinger, YB", - "y_b@saaplugin.no-ip.info", - "ฉ 2001-2002 Heiko Schillinger, 2003 modified by Bruno Rino, 2005-7 Modified by YB", - "http://miranda-ng.org/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, { 0x2d506d46,0xc94e,0x4ef8,{0x85, 0x37, 0xf1, 0x12, 0x33, 0xa8, 0x03, 0x81}}/* 2d506d46-c94e-4ef8-8537-f11233a80381 */ }; diff --git a/plugins/SeenPlugin/src/version.h b/plugins/SeenPlugin/src/version.h new file mode 100644 index 0000000000..c8323a2235 --- /dev/null +++ b/plugins/SeenPlugin/src/version.h @@ -0,0 +1,41 @@ +/* + +'File Association Manager'-Plugin for Miranda IM + +Copyright (C) 2005-2007 H. Herkenrath + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program (AssocMgr-License.txt); if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + +#define __MAJOR_VERSION 5 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 4 +#define __BUILD_NUM 7 + +#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 "Last Seen Mod" +#define __INTERNAL_NAME "Last Seen" +#define __FILENAME "SeenPlugin.dll" +#define __DESCRIPTION "Log when a user was last seen online and which users were online while you were away." +#define __AUTHOR "Heiko Schillinger, YB" +#define __AUTHOREMAIL "y_b@saaplugin.no-ip.info" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "ฉ 2001-2002 Heiko Schillinger, 2003 modified by Bruno Rino, 2005-7 Modified by YB" -- cgit v1.2.3