Update the meaning of git fetch --tags and tagopt=--tags
[TortoiseGit.git] / src / TortoiseProc / Settings / SetDialogs2.h
blobd805915df730f4b15e10733eb6f57a9a6acc137b
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2011-2013 - 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.
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 CSetDialogs2 : public ISettingsPropPage
33 DECLARE_DYNAMIC(CSetDialogs2)
35 public:
36 CSetDialogs2();
37 virtual ~CSetDialogs2();
39 UINT GetIconID() {return IDI_DIALOGS;}
41 // Dialog Data
42 enum { IDD = IDD_SETTINGSDIALOGS2 };
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();
55 private:
56 CToolTips m_tooltips;
57 CRegDWORD m_regUseRecycleBin;
58 BOOL m_bUseRecycleBin;
59 CRegDWORD m_regAutoCloseGitProgress;
60 DWORD_PTR m_dwAutoCloseGitProgress;
61 CComboBox m_cAutoCloseGitProgress;
62 CRegDWORD m_regConfirmKillProcess;
63 BOOL m_bConfirmKillProcess;
64 CRegDWORD m_regSyncDialogRandomPos;
65 BOOL m_bSyncDialogRandomPos;
66 CRegDWORD m_regRefCompareHideUnchanged;
67 BOOL m_bRefCompareHideUnchanged;
68 CRegDWORD m_regAutocompletion;
69 BOOL m_bAutocompletion;
70 CRegDWORD m_regAutocompletionTimeout;
71 DWORD m_dwAutocompletionTimeout;
72 CRegDWORD m_regMaxHistory;
73 DWORD m_dwMaxHistory;
74 CRegDWORD m_regAutoSelect;
75 BOOL m_bAutoSelect;
76 CRegDWORD m_regStripCommentedLines;
77 BOOL m_bStripCommentedLines;