Refactored: Replace CGitLogListBase::m_From/m_To with the member variable of CFilterData
[TortoiseGit.git] / src / TortoiseProc / CleanTypeDlg.h
blobf0882c463b377cf625d31971cf3e52055f3f8e36
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2015 - 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 = NULL); // 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 afx_msg void OnBnClickedCheckNoRecycleBin();
51 void SetDlgTitle();
53 public:
54 BOOL m_bDir;
55 int m_CleanType;
56 BOOL m_bNoRecycleBin;
57 BOOL m_bDryRun;
58 BOOL m_bSubmodules;
59 CTGitPathList m_pathList;