diff options
-rw-r--r-- | plugins/Dbx_mmap_SA/res/version.rc | 26 | ||||
-rw-r--r-- | plugins/Dbx_mmap_SA/src/commonheaders.h | 21 | ||||
-rw-r--r-- | plugins/Dbx_mmap_SA/src/init.cpp | 16 | ||||
-rw-r--r-- | plugins/Dbx_mmap_SA/src/version.h | 18 |
4 files changed, 34 insertions, 47 deletions
diff --git a/plugins/Dbx_mmap_SA/res/version.rc b/plugins/Dbx_mmap_SA/res/version.rc index 82e11f7bfc..5bfbab4754 100644 --- a/plugins/Dbx_mmap_SA/res/version.rc +++ b/plugins/Dbx_mmap_SA/res/version.rc @@ -1,15 +1,12 @@ +// Microsoft Visual C++ generated resource script.
+//
#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED
-#include <windows.h>
+#include "afxres.h"
#include "..\src\version.h"
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
VS_VERSION_INFO VERSIONINFO
FILEVERSION __FILEVERSION_STRING
PRODUCTVERSION __FILEVERSION_STRING
@@ -20,23 +17,22 @@ VS_VERSION_INFO VERSIONINFO FILEFLAGS 0x0L
#endif
FILEOS 0x4L
- FILETYPE 0x2L
+ FILETYPE 0x0L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
- BLOCK "041904b0"
+ BLOCK "000004b0"
BEGIN
- VALUE "FileDescription", "Miranda NG Mmap DataBase Engine 3x"
- VALUE "FileVersion", __VERSION_STRING
- VALUE "LegalCopyright", "Copyright (C) 2000-2007"
- VALUE "OriginalFilename", "dbx_mmap.dll"
- VALUE "ProductName", "Miranda NG Mmap DataBase Engine 3x"
- VALUE "ProductVersion", __VERSION_STRING
+ VALUE "FileDescription", __DESCRIPTION
+ VALUE "InternalName", __PLUGIN_NAME
+ VALUE "LegalCopyright", __COPYRIGHT
+ VALUE "OriginalFilename", __FILENAME
+ VALUE "ProductName", __PLUGIN_NAME
END
END
BLOCK "VarFileInfo"
BEGIN
- VALUE "Translation", 0x419, 1200
+ VALUE "Translation", 0x0, 1200
END
END
diff --git a/plugins/Dbx_mmap_SA/src/commonheaders.h b/plugins/Dbx_mmap_SA/src/commonheaders.h index b1e5602a90..b454148bc7 100644 --- a/plugins/Dbx_mmap_SA/src/commonheaders.h +++ b/plugins/Dbx_mmap_SA/src/commonheaders.h @@ -23,42 +23,23 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define _CRT_SECURE_NO_WARNINGS
-#define MIRANDA_VER 0x0A00
-
#define _WIN32_WINNT 0x0501
-#include "m_stdhdr.h"
-
-//windows headers
#include <windows.h>
#include <shlobj.h>
-#include <commctrl.h>
-
-#include <stdio.h>
-#include <string.h>
#include <time.h>
-#include <stddef.h>
#include <process.h>
-#include <io.h>
-#include <string.h>
-#include <direct.h>
-#include <crtdbg.h>
#include <memory>
-//miranda headers
#include <newpluginapi.h>
#include <win2k.h>
-#include <m_system.h>
#include <m_system_cpp.h>
#include <m_database.h>
-#include <m_db_int.h>
#include <m_langpack.h>
-#include <m_utils.h>
#include <m_options.h>
#include <m_skin.h>
-//non-official miranda-plugins sdk
-#include "m_folders.h"
+#include <m_folders.h>
//own headers
#include "dbintf_sa.h"
diff --git a/plugins/Dbx_mmap_SA/src/init.cpp b/plugins/Dbx_mmap_SA/src/init.cpp index 33df6e4224..3b535e1ffe 100644 --- a/plugins/Dbx_mmap_SA/src/init.cpp +++ b/plugins/Dbx_mmap_SA/src/init.cpp @@ -33,15 +33,15 @@ HINSTANCE g_hInst = NULL; PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
- __VERSION_DWORD,
- "Provides Miranda database support: global settings, contacts, history, settings per contact. Enhanced modification with Encryption support.",
- "Miranda-IM project, modification by FYR and chaos.persei, nullbie, Billy_Bons",
- "chaos.persei@gmail.com; ashpynov@gmail.com; bio@msx.ru; ghazan@miranda.im",
- "Copyright 2000-2011 Miranda IM project, 2012 Miranda NG project FYR, chaos.persei, induction, nullbie",
- "http://miranda-ng.org/",
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE | STATIC_PLUGIN,
- // {28FF9B91-3E4D-4f1c-B47C-C641B037FF40}
- { 0x28ff9b91, 0x3e4d, 0x4f1c, { 0xb4, 0x7c, 0xc6, 0x41, 0xb0, 0x37, 0xff, 0x40 } }
+ // {28FF9B91-3E4D-4F1C-B47C-C641B037FF40}
+ {0x28ff9b91, 0x3e4d, 0x4f1c, {0xb4, 0x7c, 0xc6, 0x41, 0xb0, 0x37, 0xff, 0x40}}
};
LIST<CDbxMmapSA> g_Dbs(1, (LIST<CDbxMmapSA>::FTSortFunc)HandleKeySort);
diff --git a/plugins/Dbx_mmap_SA/src/version.h b/plugins/Dbx_mmap_SA/src/version.h index 66efe26e18..ec76a43199 100644 --- a/plugins/Dbx_mmap_SA/src/version.h +++ b/plugins/Dbx_mmap_SA/src/version.h @@ -1,4 +1,14 @@ -#define __FILEVERSION_STRING 0,7,5,4
-#define __VERSION_STRING "0.7.5.4"
-#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0, 7, 5, 4)
-#define __PLUGIN_NAME "Miranda NG secure database driver"
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 7
+#define __RELEASE_NUM 5
+#define __BUILD_NUM 4
+
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+
+#define __PLUGIN_NAME "Miranda NG mmap secure database driver"
+#define __FILENAME "ClientChangeNotify.dll"
+#define __DESCRIPTION "Provides Miranda database support: global settings, contacts, history, settings per contact. Enhanced modification with Encryption support."
+#define __AUTHOR "Miranda-IM project, modification by FYR and chaos.persei, nullbie, Billy_Bons"
+#define __AUTHOREMAIL "chaos.persei@gmail.com; ashpynov@gmail.com; bio@msx.ru; ghazan@miranda.im"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "© 2000-2011 Miranda IM project, 2012 Miranda NG project FYR, chaos.persei, induction, nullbie"
|