summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/dbintf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbintf.cpp')
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp
index aa2cd398b3..5ecac705be 100644
--- a/plugins/Dbx_mdbx/src/dbintf.cpp
+++ b/plugins/Dbx_mdbx/src/dbintf.cpp
@@ -196,33 +196,3 @@ int CDbxMDBX::Map()
mode |= MDBX_RDONLY;
return mdbx_env_open(m_env, _T2A(m_tszProfileName), mode, 0664);
}
-
-///////////////////////////////////////////////////////////////////////////////
-// MIDatabaseChecker
-
-typedef int (CDbxMDBX::*CheckWorker)(void);
-
-int CDbxMDBX::Start(DBCHeckCallback *callback)
-{
- cb = callback;
- return ERROR_SUCCESS;
-}
-
-static CheckWorker Workers[6] =
-{
- &CDbxMDBX::CheckEvents1,
- &CDbxMDBX::CheckEvents2,
-};
-
-int CDbxMDBX::CheckDb(int phase, int)
-{
- if (phase >= _countof(Workers))
- return ERROR_OUT_OF_PAPER;
-
- return (this->*Workers[phase])();
-}
-
-void CDbxMDBX::Destroy()
-{
- delete this;
-}