OSDN Git Service

Update TranslationsStatus.*
[winmerge-jp/winmerge-jp.git] / Src / PropGeneral.h
1 /**
2  * @file  PropGeneral.h
3  *
4  * @brief Declaration of PropGeneral class
5  */
6 #pragma once
7
8 #include "OptionsPanel.h"
9 #include "Concurrent.h"
10
11 class COptionsMgr;
12
13 /**
14  * @brief Class for General options -propertypage.
15  */
16 class PropGeneral : public OptionsPanel
17 {
18 // Construction
19 public:
20         explicit PropGeneral(COptionsMgr *optionsMgr);
21         ~PropGeneral();
22
23 // Implement IOptionsPanel
24         virtual void ReadOptions() override;
25         virtual void WriteOptions() override;
26
27 // Dialog Data
28         //{{AFX_DATA(PropGeneral)
29         enum { IDD = IDD_PROPPAGE_GENERAL };
30         bool  m_bScroll;
31         bool  m_bScrollToFirstInlineDiff;
32         int   m_nSingleInstance;
33         bool  m_bVerifyPaths;
34         int   m_nCloseWindowWithEsc;
35         bool  m_bAskMultiWindowClose;
36         int   m_nAutoCompleteSource;
37         bool  m_bPreserveFiletime;
38         bool  m_bShowSelectFolderOnStartup;
39         bool  m_bCloseWithOK;
40         Concurrent::Task<std::vector<std::pair<LANGID, String>>> m_asyncLanguagesLoader;
41         CComboBox       m_ctlLangList;
42         //}}AFX_DATA
43
44
45 // Overrides
46         // ClassWizard generate virtual function overrides
47         //{{AFX_VIRTUAL(PropGeneral)
48         protected:
49         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
50         //}}AFX_VIRTUAL
51
52 // Implementation
53 protected:
54         virtual BOOL OnInitDialog() override;
55
56         // Generated message map functions
57         //{{AFX_MSG(PropGeneral)
58         afx_msg void OnResetAllMessageBoxes();
59         afx_msg LRESULT OnLoadLanguages(WPARAM, LPARAM);
60         //}}AFX_MSG
61         DECLARE_MESSAGE_MAP()
62 };