1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * @brief Declaration file PropRegistry
9 #include "OptionsPanel.h"
10 #include "UnicodeString.h"
15 * @brief Property page for system options; used in options property sheet.
17 * This class implements property sheet for what we consider System-options.
18 * It allows user to select options like whether to use Recycle Bin for
19 * deleted files and External text editor.
21 class PropRegistry : public OptionsPanel
25 explicit PropRegistry(COptionsMgr *optionsMgr);
27 // Implement IOptionsPanel
28 virtual void ReadOptions() override;
29 virtual void WriteOptions() override;
32 //{{AFX_DATA(PropRegistry)
33 enum { IDD = IDD_PROPPAGE_SYSTEM };
34 String m_strEditorPath;
35 bool m_bUseRecycleBin;
36 String m_strUserFilterPath;
39 CToolTipCtrl m_tooltips;
43 // ClassWizard generated virtual function overrides
44 //{{AFX_VIRTUAL(PropRegistry)
46 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
47 virtual BOOL PreTranslateMessage(MSG* pMsg);
48 virtual BOOL OnInitDialog() override;
51 // Implementation methods
53 // Generated message map functions
54 //{{AFX_MSG(PropRegistry)
55 afx_msg void OnBrowseEditor();
56 afx_msg void OnBrowseFilterPath();
57 afx_msg void OnBrowseTmpFolder();