From f0f9d66487adef5eefcf7483c4e4b47fd06b6048 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 11 Oct 2012 09:56:50 +0000 Subject: AutoRun added version.rc git-svn-id: http://svn.miranda-ng.org/main/trunk@1870 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AutoRun/src/Version.h | 20 ++++++++++++++++++++ plugins/AutoRun/src/autorun.h | 1 + plugins/AutoRun/src/main.cpp | 14 +++++++------- 3 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 plugins/AutoRun/src/Version.h (limited to 'plugins/AutoRun/src') diff --git a/plugins/AutoRun/src/Version.h b/plugins/AutoRun/src/Version.h new file mode 100644 index 0000000000..cfb9a5c0a6 --- /dev/null +++ b/plugins/AutoRun/src/Version.h @@ -0,0 +1,20 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 1 +#define __RELEASE_NUM 0 +#define __BUILD_NUM 1 + +#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 "AutoRun" +#define __INTERNAL_NAME "AutoRun" +#define __FILENAME "AutoRun.dll" +#define __DESCRIPTION "his plugin is a simple way to enable/disable to launch Miranda NG with system startup." +#define __AUTHOR "Sergey V. Gershovich a.k.a. Jazzy$ (fixed by Wolfram3D)" +#define __AUTHOREMAIL "" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "2002-2007 Sergey V. Gershovich a.k.a. Jazzy$" diff --git a/plugins/AutoRun/src/autorun.h b/plugins/AutoRun/src/autorun.h index 4d0900fcf0..36d951cff0 100644 --- a/plugins/AutoRun/src/autorun.h +++ b/plugins/AutoRun/src/autorun.h @@ -10,6 +10,7 @@ #include #include "resource.h" +#include "Version.h" #define SUB_KEY _T("Software\\Microsoft\\Windows\\CurrentVersion\\Run") #define ModuleName "Autorun" diff --git a/plugins/AutoRun/src/main.cpp b/plugins/AutoRun/src/main.cpp index fb9272ac56..da5b605fc1 100644 --- a/plugins/AutoRun/src/main.cpp +++ b/plugins/AutoRun/src/main.cpp @@ -6,13 +6,13 @@ int hLangpack; PLUGININFOEX pluginInfoEx= { // about plugin sizeof(PLUGININFOEX), - "Autorun", - PLUGIN_MAKE_VERSION(0,1,0,1), - "This plugin is a simple way to enable/disable to launch Miranda NG with system startup.", - "Sergey V. Gershovich a.k.a. Jazzy$ (fixed by Wolfram3D)", - "", - "Copyright © 2002-2007 Sergey V. Gershovich a.k.a. Jazzy$", - "http://miranda-ng.org/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, MIID_AUTORUN }; -- cgit v1.2.3