diff options
Diffstat (limited to 'plugins/AutoRun/src')
| -rw-r--r-- | plugins/AutoRun/src/Version.h | 20 | ||||
| -rw-r--r-- | plugins/AutoRun/src/autorun.h | 1 | ||||
| -rw-r--r-- | plugins/AutoRun/src/main.cpp | 14 | 
3 files changed, 28 insertions, 7 deletions
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 <win2k.h>
  #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
  };
  | 
