forked from WinMerge/winmerge
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPropRegistry.h
61 lines (54 loc) · 1.48 KB
/
PropRegistry.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// SPDX-License-Identifier: GPL-2.0-or-later
/**
* @file PropRegistry.h
*
* @brief Declaration file PropRegistry
*/
#pragma once
#include "OptionsPanel.h"
#include "UnicodeString.h"
class COptionsMgr;
/**
* @brief Property page for system options; used in options property sheet.
*
* This class implements property sheet for what we consider System-options.
* It allows user to select options like whether to use Recycle Bin for
* deleted files and External text editor.
*/
class PropRegistry : public OptionsPanel
{
// Construction
public:
explicit PropRegistry(COptionsMgr *optionsMgr);
// Implement IOptionsPanel
virtual void ReadOptions() override;
virtual void WriteOptions() override;
// Dialog Data
//{{AFX_DATA(PropRegistry)
enum { IDD = IDD_PROPPAGE_SYSTEM };
String m_strEditorPath;
bool m_bUseRecycleBin;
String m_strUserFilterPath;
int m_tempFolderType;
String m_tempFolder;
CToolTipCtrl m_tooltips;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(PropRegistry)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL PreTranslateMessage(MSG* pMsg);
virtual BOOL OnInitDialog() override;
//}}AFX_VIRTUAL
// Implementation methods
protected:
// Generated message map functions
//{{AFX_MSG(PropRegistry)
afx_msg void OnDefaults();
afx_msg void OnBrowseEditor();
afx_msg void OnBrowseFilterPath();
afx_msg void OnBrowseTmpFolder();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};