diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-23 14:56:18 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-23 14:56:18 +0000 |
commit | 3a0c5adae93a16e85a754adff36030d4f423ebed (patch) | |
tree | 4dd67bef072af48de389a7f0d4c1f40aa1142320 /plugins/Db_autobackups/src | |
parent | 4f76c4c4b6fbc6ab43d7106fe2119454a10d22d4 (diff) |
added version info
git-svn-id: http://svn.miranda-ng.org/main/trunk@3728 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups/src')
-rw-r--r-- | plugins/Db_autobackups/src/backup.cpp | 1 | ||||
-rw-r--r-- | plugins/Db_autobackups/src/headers.h | 10 | ||||
-rw-r--r-- | plugins/Db_autobackups/src/main.cpp | 16 | ||||
-rw-r--r-- | plugins/Db_autobackups/src/version.h | 20 |
4 files changed, 24 insertions, 23 deletions
diff --git a/plugins/Db_autobackups/src/backup.cpp b/plugins/Db_autobackups/src/backup.cpp index 1677b18f15..1922212386 100644 --- a/plugins/Db_autobackups/src/backup.cpp +++ b/plugins/Db_autobackups/src/backup.cpp @@ -1,5 +1,4 @@ #include "headers.h"
-#include <commctrl.h>
TCHAR dbname[MAX_PATH];
diff --git a/plugins/Db_autobackups/src/headers.h b/plugins/Db_autobackups/src/headers.h index 966bdcde73..30cacb4ee5 100644 --- a/plugins/Db_autobackups/src/headers.h +++ b/plugins/Db_autobackups/src/headers.h @@ -2,28 +2,26 @@ #define _HEADERS_H
#define _CRT_SECURE_NO_DEPRECATE
-#define MIRANDA_VER 0x0A00
-#include <m_stdhdr.h>
#include <windows.h>
#include <shlobj.h>
#include <time.h>
-#include <commctrl.h>
-#include <m_system.h>
#include <newpluginapi.h>
#include <m_clist.h>
#include <m_database.h>
#include <m_langpack.h>
-#include <m_utils.h>
#include <m_options.h>
#include <m_popup.h>
#include <m_icolib.h>
-#include "m_folders.h"
#include <win2k.h>
+#include <m_folders.h>
+#include <m_trigger.h>
+
#include "options.h"
#include "resource.h"
+#include "version.h"
#define MS_AB_BACKUP "AB/Backup"
#define MS_AB_BACKUPTRGR "AB/Backuptrg"
diff --git a/plugins/Db_autobackups/src/main.cpp b/plugins/Db_autobackups/src/main.cpp index b2c5a7a7e3..93865adbcd 100644 --- a/plugins/Db_autobackups/src/main.cpp +++ b/plugins/Db_autobackups/src/main.cpp @@ -1,6 +1,4 @@ #include "headers.h"
-#include "version.h"
-#include "m_trigger.h"
HINSTANCE hInst;
@@ -14,14 +12,14 @@ HANDLE hServices[3]; PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
- __VERSION_DWORD,
- __PLUGIN_DESC,
- "chaos.persei, sje, Kildor, Billy_Bons",
- "chaos.persei@gmail.com",
- __COPYRIGHTS,
- "http://miranda-ng.org/",
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
- // {81C220A6-0226-4ad6-BFCA-217B17A16053}
+ // {81C220A6-0226-4Ad6-BFCA-217B17A16053}
{0x81c220a6, 0x226, 0x4ad6, {0xbf, 0xca, 0x21, 0x7b, 0x17, 0xa1, 0x60, 0x53}}
};
diff --git a/plugins/Db_autobackups/src/version.h b/plugins/Db_autobackups/src/version.h index e7151dfccb..8ff124185c 100644 --- a/plugins/Db_autobackups/src/version.h +++ b/plugins/Db_autobackups/src/version.h @@ -1,8 +1,14 @@ -#define __FILEVERSION_STRING 0,0,0,8
-#define __VERSION_STRING "0.0.0.8"
-#define __VERSION_DWORD 0x00000008
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 0
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 8
-#define __PLUGIN_NAME_BASE "DB Autobackuper"
-#define __PLUGIN_NAME __PLUGIN_NAME_BASE
-#define __PLUGIN_DESC __PLUGIN_NAME_BASE " plugin."
-#define __COPYRIGHTS "© 2005-2011 chaos.persei, sje, Kildor, Billy_Bons, Vasilich"
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+
+#define __PLUGIN_NAME "Db autobackuper"
+#define __FILENAME "Db_autobackups.dll"
+#define __DESCRIPTION "Db autobackuper plugin."
+#define __AUTHOR "chaos.persei, sje, Kildor, Billy_Bons"
+#define __AUTHOREMAIL "chaos.persei@gmail.com"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "© 2005-2011 chaos.persei, sje, Kildor, Billy_Bons, Vasilich"
|