OSDN Git Service

Update Dutch.po (#842)
[winmerge-jp/winmerge-jp.git] / Src / PropRegistry.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /**
3  * @file  PropRegistry.h
4  *
5  * @brief Declaration file PropRegistry
6  */
7 #pragma once
8
9 #include "OptionsPanel.h"
10 #include "UnicodeString.h"
11
12 class COptionsMgr;
13
14 /**
15  * @brief Property page for system options; used in options property sheet.
16  *
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.
20  */
21 class PropRegistry : public OptionsPanel
22 {
23 // Construction
24 public:
25         explicit PropRegistry(COptionsMgr *optionsMgr);
26
27 // Implement IOptionsPanel
28         virtual void ReadOptions() override;
29         virtual void WriteOptions() override;
30
31 // Dialog Data
32         //{{AFX_DATA(PropRegistry)
33         enum { IDD = IDD_PROPPAGE_SYSTEM };
34         String  m_strEditorPath;
35         bool    m_bUseRecycleBin;
36         String  m_strUserFilterPath;
37         int     m_tempFolderType;
38         String  m_tempFolder;
39         CToolTipCtrl m_tooltips;
40         //}}AFX_DATA
41
42         // Overrides
43         // ClassWizard generated virtual function overrides
44         //{{AFX_VIRTUAL(PropRegistry)
45         protected:
46         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
47         virtual BOOL PreTranslateMessage(MSG* pMsg);
48         virtual BOOL OnInitDialog() override;
49         //}}AFX_VIRTUAL
50
51 // Implementation methods
52 protected:
53         // Generated message map functions
54         //{{AFX_MSG(PropRegistry)
55         afx_msg void OnBrowseEditor();
56         afx_msg void OnBrowseFilterPath();
57         afx_msg void OnBrowseTmpFolder();
58         //}}AFX_MSG
59         DECLARE_MESSAGE_MAP()
60 };