Re-integrate the GPG signed commit into the unit tests
[TortoiseGit.git] / src / TortoiseProc / CleanTypeDlg.h
blob4c19c96eef5a3760ab4af25b986045badd900658
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); // DDX/DDV support
42 CRegDWORD m_regDir;
43 CRegDWORD m_regType;
44 CString m_sTitle;
46 DECLARE_MESSAGE_MAP()
48 virtual BOOL OnInitDialog();
49 virtual void OnOK();
50 void SetDlgTitle();
52 public:
53 BOOL m_bDir;
54 int m_CleanType;
55 BOOL m_bNoRecycleBin;
56 BOOL m_bDryRun;
57 BOOL m_bSubmodules;
58 CTGitPathList m_pathList;