diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-25 21:39:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-25 21:39:35 +0300 |
commit | 01e48461e3ddf45c2e9065276ff4b4c5f59ae77b (patch) | |
tree | eaa56c5a9dd4441a9de77eec52a3a81c411c14c5 /plugins/Dbx_mdbx/src/dbintf.cpp | |
parent | 18ea49746ac254f97f3265131640b605e41b2fd9 (diff) |
MIDatabaseChecker interface removed
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbintf.cpp')
-rw-r--r-- | plugins/Dbx_mdbx/src/dbintf.cpp | 30 |
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;
-}
|