4 * @brief Declaration of PropGeneral class
8 #include "OptionsPanel.h"
9 #include "Concurrent.h"
14 * @brief Class for General options -propertypage.
16 class PropGeneral : public OptionsPanel
20 explicit PropGeneral(COptionsMgr *optionsMgr);
23 // Implement IOptionsPanel
24 virtual void ReadOptions() override;
25 virtual void WriteOptions() override;
28 //{{AFX_DATA(PropGeneral)
29 enum { IDD = IDD_PROPPAGE_GENERAL };
31 bool m_bScrollToFirstInlineDiff;
32 bool m_bSingleInstance;
34 int m_nCloseWindowWithEsc;
35 bool m_bAskMultiWindowClose;
36 int m_nAutoCompleteSource;
37 bool m_bPreserveFiletime;
38 bool m_bShowSelectFolderOnStartup;
40 Concurrent::Task<std::vector<std::pair<LANGID, String>>> m_asyncLanguagesLoader;
41 CComboBox m_ctlLangList;
46 // ClassWizard generate virtual function overrides
47 //{{AFX_VIRTUAL(PropGeneral)
49 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
54 virtual BOOL OnInitDialog() override;
56 // Generated message map functions
57 //{{AFX_MSG(PropGeneral)
58 afx_msg void OnResetAllMessageBoxes();
59 afx_msg LRESULT OnLoadLanguages(WPARAM, LPARAM);