summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbintfm.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-26 18:11:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-26 18:11:20 +0000
commitce67ce69028c730e1058757504074ffa58294122 (patch)
tree7a888cf70d816b7eb22ce39b219043f8a2f19e54 /plugins/Db3x_mmap/src/dbintfm.cpp
parent0ae0d8793303452256f70946428a7f51466a60af (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@7911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintfm.cpp')
-rw-r--r--plugins/Db3x_mmap/src/dbintfm.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbintfm.cpp b/plugins/Db3x_mmap/src/dbintfm.cpp
index d917ef300d..83d113e70c 100644
--- a/plugins/Db3x_mmap/src/dbintfm.cpp
+++ b/plugins/Db3x_mmap/src/dbintfm.cpp
@@ -44,3 +44,17 @@ int CDb3Mmap::Load(bool bSkipInit)
return res;
}
+
+int CDb3Mmap::PrepareCheck()
+{
+ int ret = CheckDbHeaders();
+ if (ret != ERROR_SUCCESS)
+ return ret;
+
+ InitCache();
+ InitModuleNames();
+ if ((ret = InitCrypt()) != ERROR_SUCCESS)
+ return ret;
+
+ return ERROR_SUCCESS;
+}