summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbintf.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-26 14:56:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-26 14:56:53 +0000
commitd5d6965af7e69367babf40b7fb1d7fca8617cabe (patch)
tree614f57382fcf26c3895d4166f67657c3b0e23e3e /plugins/Db3x_mmap/src/dbintf.h
parent78eb36ffcbd1b71eee1b912a927522fd3f19b347 (diff)
dbtool is divided into two parts: DbChecker & appendix for db3x_mmap plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@1195 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintf.h')
-rw-r--r--plugins/Db3x_mmap/src/dbintf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h
index 2aa1ceea73..c13bdc5eb0 100644
--- a/plugins/Db3x_mmap/src/dbintf.h
+++ b/plugins/Db3x_mmap/src/dbintf.h
@@ -221,6 +221,14 @@ protected:
virtual void EncodeDBWrite(DWORD ofs, void *src, int size);
virtual void DecodeDBWrite(DWORD ofs, void *src, int size);
+public: // Check functions
+ int WorkInitialChecks(DBCHeckCallback*, int);
+ int WorkModuleChain(DBCHeckCallback*, int);
+ int WorkUser(DBCHeckCallback*, int);
+ int WorkContactChain(DBCHeckCallback*, int);
+ int WorkAggressive(DBCHeckCallback*, int);
+ int WorkFinalTasks(DBCHeckCallback*, int);
+
protected:
TCHAR* m_tszProfileName;
HANDLE m_hDbFile;
@@ -312,3 +320,5 @@ protected:
void Map();
void ReMap(DWORD needed);
};
+
+typedef int (CDb3Mmap::*CheckWorker)(DBCHeckCallback*, int);