From cbe4e96467fe7ef3c3e7147526f55d1de9564f2b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Jan 2021 20:50:42 +0300 Subject: database options dialog also went into the core --- plugins/Dbx_sqlite/src/dbcrypt.cpp | 8 ++++++++ plugins/Dbx_sqlite/src/dbintf.h | 1 + 2 files changed, 9 insertions(+) (limited to 'plugins/Dbx_sqlite/src') diff --git a/plugins/Dbx_sqlite/src/dbcrypt.cpp b/plugins/Dbx_sqlite/src/dbcrypt.cpp index af4aa22682..8ba9ae64fa 100644 --- a/plugins/Dbx_sqlite/src/dbcrypt.cpp +++ b/plugins/Dbx_sqlite/src/dbcrypt.cpp @@ -67,3 +67,11 @@ STDMETHODIMP_(BOOL) CDbxSQLite::StoreProvider(CRYPTO_PROVIDER *pProvider) WriteContactSetting(0, &dbcws); return TRUE; } + +///////////////////////////////////////////////////////////////////////////////////////// +// Toggles full/partial encryption mode + +STDMETHODIMP_(BOOL) CDbxSQLite::EnableEncryption(BOOL) +{ + return FALSE; +} diff --git a/plugins/Dbx_sqlite/src/dbintf.h b/plugins/Dbx_sqlite/src/dbintf.h index 88638623a5..e3e2fc46d7 100755 --- a/plugins/Dbx_sqlite/src/dbintf.h +++ b/plugins/Dbx_sqlite/src/dbintf.h @@ -97,6 +97,7 @@ public: STDMETHODIMP_(CRYPTO_PROVIDER*) ReadProvider() override; STDMETHODIMP_(BOOL) StoreProvider(CRYPTO_PROVIDER*) override; + STDMETHODIMP_(BOOL) EnableEncryption(BOOL) override; STDMETHODIMP_(BOOL) ReadEncryption() override; STDMETHODIMP_(BOOL) WriteContactSettingWorker(MCONTACT contactID, DBCONTACTWRITESETTING &dbcws) override; -- cgit v1.2.3