From e70263fa09e2b16cd0ab8d45c6cf16e5b9788944 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 6 Jun 2012 19:46:34 +0000 Subject: fixed plugin info plusified AssocMgr plugin git-svn-id: http://svn.miranda-ng.org/main/trunk@334 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StatusPlugins/AdvancedAutoAway/main.cpp | 6 +----- plugins/StatusPlugins/AdvancedAutoAway/version.h | 18 +----------------- plugins/StatusPlugins/version.rc | 3 +-- 3 files changed, 3 insertions(+), 24 deletions(-) (limited to 'plugins/StatusPlugins') diff --git a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp index f9d1bd04d9..2e4f5f288a 100644 --- a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp +++ b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp @@ -53,11 +53,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) PLUGININFOEX pluginInfoEx={ sizeof(PLUGININFOEX), - #if defined( _UNICODE ) - __PLUGIN_NAME __PLATFORM_NAME " (Unicode)", - #else - __PLUGIN_NAME, - #endif + __PLUGIN_NAME, PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), __DESC, __AUTHOR, diff --git a/plugins/StatusPlugins/AdvancedAutoAway/version.h b/plugins/StatusPlugins/AdvancedAutoAway/version.h index 9c0462460d..efca246872 100644 --- a/plugins/StatusPlugins/AdvancedAutoAway/version.h +++ b/plugins/StatusPlugins/AdvancedAutoAway/version.h @@ -10,18 +10,10 @@ #define __RELEASE_NUM 0 #define __BUILD_NUM 42 -// minimal MirandaIM version number, with which this plugin supposed to work -#define __PROD_MAJOR_VERSION 0 -#define __PROD_MINOR_VERSION 8 -#define __PROD_RELEASE_NUM 0 -#define __PROD_BUILD_NUM 0 -// if your plugin works only with Miranda core beginning from specific revision, you can include this information in Product Version resource -//#define __PROD_REV_NUM 1234 - // stuff that will be used in PluginInfo section and in Version resource #define __PLUGIN_NAME "Advanced Auto Away" #define __FILENAME "AdvancedAutoAway.dll" -#define __DESC "AdvancedAutoAway, an Auto Away module with some more options than the original." +#define __DESC "An Auto Away module with some more options than the original." #define __AUTHOR "P Boon" #define __AUTHOREMAIL "unregistered@users.sourceforge.net" #define __AUTHORWEB "http://www.miranda-im.org/" @@ -46,11 +38,3 @@ #define __VERSION_STRING __STRINGIFY(__FILEVERSION_STRING_DOTS) #endif #endif - -#define __PRODVERSION_STRING __PROD_MAJOR_VERSION,__PROD_MINOR_VERSION,__PROD_RELEASE_NUM,__PROD_BUILD_NUM -#define __PRODVERSION_STRING_DOTS __PROD_MAJOR_VERSION.__PROD_MINOR_VERSION.__PROD_RELEASE_NUM.__PROD_BUILD_NUM -#ifdef __PROD_REV_NUM -#define __PROD_VERSION_STRING __STRINGIFY(__PRODVERSION_STRING_DOTS rev. __PROD_REV_NUM) -#else -#define __PROD_VERSION_STRING __STRINGIFY(__PRODVERSION_STRING_DOTS+) -#endif diff --git a/plugins/StatusPlugins/version.rc b/plugins/StatusPlugins/version.rc index dac86f85a2..8f6f25b2da 100644 --- a/plugins/StatusPlugins/version.rc +++ b/plugins/StatusPlugins/version.rc @@ -7,7 +7,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL VS_VERSION_INFO VERSIONINFO FILEVERSION __FILEVERSION_STRING - PRODUCTVERSION __PRODVERSION_STRING + PRODUCTVERSION __FILEVERSION_STRING FILEFLAGSMASK VS_FFI_FILEFLAGSMASK #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -30,7 +30,6 @@ BEGIN VALUE "OriginalFilename", __FILENAME VALUE "FileVersion", __VERSION_STRING VALUE "ProductName", "Miranda IM" - VALUE "ProductVersion", __PROD_VERSION_STRING END END BLOCK "VarFileInfo" -- cgit v1.2.3