1
// TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2011, 2013, 2016, 2019 - TortoiseGit
4 // Copyright (C) 2003-2008, 2013 - TortoiseSVN
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software Foundation,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #include "SettingsPropPage.h"
23 #include "ConfigureGitExe.h"
26 * \ingroup TortoiseProc
27 * This is the main page of the settings. It contains all the most important
30 class CSetMainPage
: public ISettingsPropPage
, public CConfigureGitExe
32 DECLARE_DYNAMIC(CSetMainPage
)
36 virtual ~CSetMainPage();
38 UINT
GetIconID() override
{ return IDI_GENERAL
; }
40 enum { IDD
= IDD_SETTINGSMAIN
};
43 virtual void DoDataExchange(CDataExchange
* pDX
) override
; // DDX/DDV support
47 virtual BOOL
OnInitDialog() override
;
48 virtual BOOL
OnApply() override
;
49 afx_msg
void OnModified();
50 afx_msg
void OnClickVersioncheck();
51 afx_msg
void OnMsysGitPathModify();
52 afx_msg
void OnBnClickedChecknewerbutton();
53 afx_msg
void OnBrowseDir();
54 afx_msg
void OnCheck();
55 afx_msg
void OnBnClickedButtonShowEnv();
56 afx_msg
void OnBnClickedCreatelib();
57 afx_msg
void OnBnClickedRunfirststartwizard();
60 CString m_sMsysGitPath
;
61 CString m_sMsysGitExtranPath
;
62 DWORD m_dwMsysGitVersion
;
63 CComboBox m_LanguageCombo
;
64 CRegDWORD m_regLanguage
;
66 CRegDWORD m_regCheckNewer
;