diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-02-27 16:42:21 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-02-27 16:42:21 +0000 |
commit | 2297d8f2a8749ea9ffebbd13cdd9e903932fa3c8 (patch) | |
tree | bfd22140e28738aadc909b545046101b219746ed /plugins/Dbx_mdb/src/ui.h | |
parent | 60f69a369747444ced2209bcf19ab0a379acc681 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@16366 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/ui.h')
-rw-r--r-- | plugins/Dbx_mdb/src/ui.h | 8 |
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
|