summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdb/src/ui.h')
-rw-r--r--plugins/Dbx_mdb/src/ui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/Dbx_mdb/src/ui.h b/plugins/Dbx_mdb/src/ui.h
index c29659b3d2..4ee297e81f 100644
--- a/plugins/Dbx_mdb/src/ui.h
+++ b/plugins/Dbx_mdb/src/ui.h
@@ -48,9 +48,11 @@ class CSelectCryptoDialog : public CDlgBase
{
CCtrlCombo m_combo;
CCtrlData m_descr;
+ CCtrlCheck m_chkTotalCrypt;
CRYPTO_PROVIDER **m_provs;
size_t m_provscount;
CRYPTO_PROVIDER *m_selected;
+ bool m_bTotalEncryption;
void OnInitDialog()
{
@@ -66,6 +68,7 @@ class CSelectCryptoDialog : public CDlgBase
void OnClose()
{
m_selected = m_provs[ m_combo.GetItemData(m_combo.GetCurSel()) ];
+ m_bTotalEncryption = m_chkTotalCrypt.GetState() != 0;
}
void OnComboChanged(CCtrlCombo*)
@@ -78,6 +81,7 @@ public:
CDlgBase(g_hInst, IDD_SELECT_CRYPTOPROVIDER),
m_combo(this, IDC_SELECTCRYPT_COMBO),
m_descr(this, IDC_CRYPTOPROVIDER_DESCR),
+ m_chkTotalCrypt(this, IDC_CHECK_TOTALCRYPT),
m_provs(provs),
m_provscount(count),
m_selected(nullptr)
@@ -89,6 +93,10 @@ public:
{
return m_selected;
}
+ inline bool TotalSelected()
+ {
+ return m_bTotalEncryption;
+ }
};
struct DlgChangePassParam