summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/dbintf.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-02-27 15:28:11 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-02-27 15:28:11 +0000
commit2814cd2a0f6ed89dab0c4dca6b8dbb2c7523bef9 (patch)
tree07be53471abaafa30b04d0973882695739053488 /plugins/Dbx_mdb/src/dbintf.h
parentb5516cbe14bd01912dc2917be0f9f892bdbd74c4 (diff)
dbx_lmdb: gui rewritted to ui_utils
git-svn-id: http://svn.miranda-ng.org/main/trunk@16362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/dbintf.h')
-rw-r--r--plugins/Dbx_mdb/src/dbintf.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/Dbx_mdb/src/dbintf.h b/plugins/Dbx_mdb/src/dbintf.h
index 2514431260..2c05fb6f46 100644
--- a/plugins/Dbx_mdb/src/dbintf.h
+++ b/plugins/Dbx_mdb/src/dbintf.h
@@ -147,7 +147,6 @@ struct CDbxMdb : public MIDatabase, public MIDatabaseChecker, public MZeroedObje
void DatabaseCorruption(const TCHAR *ptszText);
- void ToggleEncryption(void);
void StoreKey(void);
void SetPassword(const TCHAR *ptszPassword);
void UpdateMenuItem(void);
@@ -158,7 +157,7 @@ struct CDbxMdb : public MIDatabase, public MIDatabaseChecker, public MZeroedObje
__forceinline bool isEncrypted() const { return m_bEncrypted; }
__forceinline bool usesPassword() const { return m_bUsesPassword; }
-
+ int EnableEncryption(bool bEnable);
public:
STDMETHODIMP_(BOOL) IsRelational(void) { return TRUE; }
STDMETHODIMP_(void) SetCacheSafetyMode(BOOL);
@@ -324,11 +323,9 @@ protected:
MDB_dbi m_dbCrypto;
-
int InitCrypt(void);
- void ToggleEventsEncryption(MCONTACT contactID);
- void ToggleSettingsEncryption(MCONTACT contactID);
+ int EnableContactEncryption(MCONTACT, bool bEnable);
CRYPTO_PROVIDER* SelectProvider();
void GenerateNewKey();