diff options
author | George Hazan <ghazan@miranda.im> | 2021-01-08 20:50:42 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-01-08 20:50:42 +0300 |
commit | cbe4e96467fe7ef3c3e7147526f55d1de9564f2b (patch) | |
tree | d6d12836456ed21275e712c93a64edcc029056f5 /plugins/Dbx_sqlite/src | |
parent | 7748903e5c28d9e30a3970dfaaf464f163da2a1d (diff) |
database options dialog also went into the core
Diffstat (limited to 'plugins/Dbx_sqlite/src')
-rw-r--r-- | plugins/Dbx_sqlite/src/dbcrypt.cpp | 8 | ||||
-rwxr-xr-x | plugins/Dbx_sqlite/src/dbintf.h | 1 |
2 files changed, 9 insertions, 0 deletions
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; |