diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-10-11 09:56:50 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-10-11 09:56:50 +0000 |
commit | f0f9d66487adef5eefcf7483c4e4b47fd06b6048 (patch) | |
tree | 546b1a1e59ee2ed8703940f2801fd462ac2ae843 /plugins/AutoRun/src | |
parent | 3c674975575148431f62b0db6ac20b55bccf21f0 (diff) |
AutoRun
added version.rc
git-svn-id: http://svn.miranda-ng.org/main/trunk@1870 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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
};
|