Cleanup: Drop unnecessary method definitions
[TortoiseGit.git] / src / TortoiseProc / Settings / SetDialogs.h
blobba9edd8504d809fc8b8f6d5e402802721bd9fe92
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2011-2012 - TortoiseGit
4 // Copyright (C) 2003-2008 - 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.
20 #pragma once
21 #include "SettingsPropPage.h"
22 #include "Tooltip.h"
23 #include "Registry.h"
24 #include "afxwin.h"
27 /**
28 * \ingroup TortoiseProc
29 * Settings page responsible for dialog settings.
31 class CSetDialogs : public ISettingsPropPage
33 DECLARE_DYNAMIC(CSetDialogs)
35 public:
36 CSetDialogs();
37 virtual ~CSetDialogs();
39 UINT GetIconID() {return IDI_DIALOGS;}
41 // Dialog Data
42 enum { IDD = IDD_SETTINGSDIALOGS };
44 protected:
45 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
47 DECLARE_MESSAGE_MAP()
49 virtual BOOL OnInitDialog();
50 virtual BOOL PreTranslateMessage(MSG* pMsg);
51 virtual BOOL OnApply();
52 afx_msg void OnChange();
53 afx_msg void OnCbnSelchangeAutoclosecombo();
54 afx_msg void OnBnClickedBrowsecheckoutpath();
56 CString GetVersionFromFile(const CString & p_strDateiname);
58 private:
59 CToolTips m_tooltips;
60 BOOL m_bShortDateFormat;
61 BOOL m_bRelativeTimes;
62 CRegDWORD m_regShortDateFormat;
63 CRegDWORD m_regRelativeTimes;
64 BOOL m_bUseSystemLocaleForDates;
65 CRegDWORD m_regUseSystemLocaleForDates;
66 CRegDWORD m_regAutoClose;
67 DWORD_PTR m_dwAutoClose;
68 CMFCFontComboBox m_cFontNames;
69 CComboBox m_cFontSizes;
70 CRegDWORD m_regFontSize;
71 DWORD m_dwFontSize;
72 CRegString m_regFontName;
73 CString m_sFontName;
74 CComboBox m_cAutoClose;
75 CRegDWORD m_regDiffByDoubleClick;
76 BOOL m_bDiffByDoubleClick;
77 CRegDWORD m_regUseRecycleBin;
78 BOOL m_bUseRecycleBin;
79 CRegDWORD m_regAutocompletion;
80 BOOL m_bAutocompletion;
81 CRegDWORD m_regAutocompletionTimeout;
82 DWORD m_dwAutocompletionTimeout;
83 CRegDWORD m_regMaxHistory;
84 DWORD m_dwMaxHistory;
85 CRegDWORD m_regAutoSelect;
86 BOOL m_bAutoSelect;
87 CRegDWORD m_regTopoOrder;
88 BOOL m_bTopoOrder;