MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / CSettingsPropertyPage

Class CSettingsPropertyPage

cppcryptfs/ui/SettingsPropertyPage.h:38–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36// CSettingsPropertyPage dialog
37
38class CSettingsPropertyPage : public CCryptPropertyPage
39{
40 DECLARE_DYNAMIC(CSettingsPropertyPage)
41
42
43public:
44
45 bool m_bCaseInsensitive;
46 bool m_bMountManager;
47 bool m_bEnableSavingPasswords;
48 bool m_bNeverSaveHistory;
49 bool m_bDeleteSpurriousFiles;
50 bool m_bOpenOnMounting;
51 bool m_bEncryptKeysInMemory;
52 bool m_bCacheKeysInMemory;
53 bool m_bFastMounting;
54 bool m_bWarnIfInUseOnDismounting;
55 bool m_bDenyOtherSessions;
56 bool m_bDenyServices;
57
58
59 // disallow copying
60 CSettingsPropertyPage(CSettingsPropertyPage const&) = delete;
61 void operator=(CSettingsPropertyPage const&) = delete;
62
63 CSettingsPropertyPage();
64 virtual ~CSettingsPropertyPage();
65
66// Dialog Data
67#ifdef AFX_DESIGN_TIME
68 enum { IDD = IDD_SETTINGS };
69#endif
70protected:
71 std::unordered_map<int, std::unique_ptr<CryptSetting>> m_controls;
72 void SetControlChanged(int id);
73 void SetControls(CryptSetting::SetType set_type);
74protected:
75 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
76
77 DECLARE_MESSAGE_MAP()
78public:
79 virtual BOOL OnInitDialog();
80 afx_msg void OnSelchangeThreads();
81 afx_msg void OnSelchangeBuffersize();
82 afx_msg void OnBnClickedCaseinsensitive();
83 afx_msg void OnCbnSelchangeCachettl();
84 afx_msg void OnBnClickedDefaults();
85 afx_msg void OnBnClickedRecommended();
86 afx_msg void OnClickedMountmanager();
87 afx_msg void OnClickedResetwarnings();
88 afx_msg void OnClickedEnableSavingPasswords();
89 afx_msg void OnClickedNeverSaveHistory();
90 afx_msg void OnClickedDeleteSpurriousFiles();
91 afx_msg void OnClickedOpenOnMounting();
92 afx_msg void OnClickedEncryptKeysInMemory();
93 afx_msg void OnClickedCacheKeysInMemory();
94 afx_msg void OnBnClickedFastMounting();
95 afx_msg void OnClickedWarnIfInUseOnDismounting();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected