OSDN Git Service

refactor
[winmerge-jp/winmerge-jp.git] / Src / PropProject.h
1 /** 
2  * @file  PropProject.h
3  *
4  * @brief Declaration file for PropProject propertysheet
5  *
6  */
7 #pragma once
8
9 #include "OptionsPanel.h"
10 #include "SubeditList.h"
11 #include "OptionsProject.h"
12
13 class COptionsMgr;
14
15 /**
16  * @brief Property page to set project options for WinMerge.
17  */
18 class PropProject : public OptionsPanel
19 {
20 // Construction
21 public:
22         explicit PropProject(COptionsMgr *optionsMgr);
23
24 // Implement IOptionsPanel
25         virtual void ReadOptions() override;
26         virtual void WriteOptions() override;
27
28 // Dialog Data
29         //{{AFX_DATA(PropEditor)
30         enum { IDD = IDD_PROPPAGE_PROJECT };
31         CSubeditList m_list;
32         //}}AFX_DATA
33
34 private:
35         Options::Project::Settings m_settings;
36
37 // Implementation methods
38         void InitList();
39
40 // Overrides
41         // ClassWizard generated virtual function overrides
42         //{{AFX_VIRTUAL(PropEditor)
43         protected:
44         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
45         //}}AFX_VIRTUAL
46
47 // Implementation
48 protected:
49
50         // Generated message map functions
51         //{{AFX_MSG(PropEditor)
52         afx_msg BOOL OnInitDialog() override;
53         //}}AFX_MSG
54         DECLARE_MESSAGE_MAP()
55 };