drop lock/unlock
[TortoiseGit.git] / src / TortoiseProc / Settings / SetMisc.h
blobf6d16b9590551385ff21a42dc72e91347af2f56b
1 // TortoiseSVN - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2008 - TortoiseSVN
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #pragma once
20 #include "SettingsPropPage.h"
21 #include "Tooltip.h"
22 #include "Registry.h"
24 /**
25 * \ingroup TortoiseProc
26 * Settings page to configure miscellaneous stuff.
28 class CSetMisc : public ISettingsPropPage
30 DECLARE_DYNAMIC(CSetMisc)
32 public:
33 CSetMisc();
34 virtual ~CSetMisc();
36 UINT GetIconID() {return IDI_DIALOGS;}
38 // Dialog Data
39 enum { IDD = IDD_SETTINGSMISC };
41 protected:
42 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
43 afx_msg void OnChanged();
44 virtual BOOL OnInitDialog();
45 virtual BOOL PreTranslateMessage(MSG* pMsg);
46 virtual BOOL OnApply();
48 DECLARE_MESSAGE_MAP()
50 private:
51 CToolTips m_tooltips;
53 CRegDWORD m_regUnversionedRecurse;
54 BOOL m_bUnversionedRecurse;
55 CRegDWORD m_regAutocompletion;
56 BOOL m_bAutocompletion;
57 CRegDWORD m_regAutocompletionTimeout;
58 DWORD m_dwAutocompletionTimeout;
59 CRegDWORD m_regSpell;
60 BOOL m_bSpell;
61 CRegDWORD m_regCheckRepo;
62 BOOL m_bCheckRepo;
63 CRegDWORD m_regMaxHistory;
64 DWORD m_dwMaxHistory;
65 CRegDWORD m_regCommitReopen;
66 BOOL m_bCommitReopen;
67 CRegDWORD m_regAutoSelect;
68 BOOL m_bAutoSelect;