diff options
Diffstat (limited to 'db3x_autobackups/commonheaders.h')
-rw-r--r-- | db3x_autobackups/commonheaders.h | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/db3x_autobackups/commonheaders.h b/db3x_autobackups/commonheaders.h index 4d4afad..521a985 100644 --- a/db3x_autobackups/commonheaders.h +++ b/db3x_autobackups/commonheaders.h @@ -2,8 +2,8 @@ Miranda IM: the free IM client for Microsoft* Windows*
-Copyright 2000-2003 Miranda ICQ/IM project,
-all portions of this codebase are copyrighted to the people
+Copyright 2000-2003 Miranda ICQ/IM project,
+all portions of this codebase are copyrighted to the people
listed in contributors.txt.
This program is free software; you can redistribute it and/or
@@ -21,19 +21,21 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#define MIRANDA_VER 0x0700
+
#define _WIN32_WINNT 0x0501
#include <windows.h>
+#include <malloc.h>
+
#ifdef _DEBUG
# define _ALPHA_BASE_ 1 // defined for CVS builds
# define _ALPHA_FUSE_ 1 // defined for fuse powered core
# define _CRTDBG_MAP_ALLOC
# include <stdlib.h>
-# include <crtdbg.h>
+//# include <crtdbg.h>
#endif
-#include <malloc.h>
-
#include <commctrl.h>
#include <stdio.h>
#include <string.h>
@@ -43,17 +45,28 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <io.h>
#include <string.h>
#include <direct.h>
+#include <crtdbg.h>
#include "resource.h"
+#include "version.h"
#include <newpluginapi.h>
#include <win2k.h>
+#include <m_plugins.h>
#include <m_system.h>
#include <m_database.h>
#include <m_langpack.h>
+#include <m_utils.h>
+
+#include "database.h"
extern PLUGINLINK *pluginLink;
+extern struct MM_INTERFACE memoryManagerInterface;
extern struct LIST_INTERFACE li;
+extern CRITICAL_SECTION csDbAccess;
+extern struct DBHeader dbHeader;
+extern HANDLE hDbFile;
+
#ifdef __GNUC__
#define mir_i64(x) (x##LL)
#else
|