Refactor rebase commit list: Don't fill list again and again when reordering commits
[TortoiseGit.git] / src / TortoiseProc / CleanTypeDlg.h
blobb006bc6a4bf7ed2e8f9cd735df66ee222f4cc3f9
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2017 - TortoiseGit
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
22 #include "StandAloneDlg.h"
23 #include "registry.h"
24 #include "TGitPath.h"
26 // CCleanTypeDlg dialog
28 class CCleanTypeDlg : public CStateStandAloneDialog
30 DECLARE_DYNAMIC(CCleanTypeDlg)
32 public:
33 CCleanTypeDlg(CWnd* pParent = nullptr); // standard constructor
34 virtual ~CCleanTypeDlg();
36 // Dialog Data
37 enum { IDD = IDD_CLEAN };
39 protected:
40 virtual void DoDataExchange(CDataExchange* pDX) override; // DDX/DDV support
42 CRegDWORD m_regDir;
43 CRegDWORD m_regType;
44 CString m_sTitle;
46 DECLARE_MESSAGE_MAP()
48 virtual BOOL OnInitDialog() override;
49 virtual void OnOK() override;
50 void SetDlgTitle();
51 afx_msg void OnBnClickedCheckDir();
53 public:
54 BOOL m_bDir;
55 BOOL m_bDirUnmanagedRepo;
56 int m_CleanType;
57 BOOL m_bNoRecycleBin;
58 BOOL m_bDryRun;
59 BOOL m_bSubmodules;
60 CTGitPathList m_pathList;