Allow to reset filter easily
[TortoiseGit.git] / src / TortoiseProc / FormatPatchDlg.h
blob18f6e246e3fdcbda44a94bf0e3c56e8255d18394
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2012 - 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.
20 #pragma once
22 #include "HorizontalResizableStandAloneDialog.h"
23 #include "HistoryCombo.h"
24 #include "Registry.h"
26 // CFormatPatchDlg dialog
28 class CFormatPatchDlg : public CHorizontalResizableStandAloneDialog
30 DECLARE_DYNAMIC(CFormatPatchDlg)
32 public:
33 CFormatPatchDlg(CWnd* pParent = NULL); // standard constructor
34 virtual ~CFormatPatchDlg();
36 // Dialog Data
37 enum { IDD = IDD_FORMAT_PATCH };
39 protected:
40 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
41 virtual BOOL OnInitDialog();
43 afx_msg void OnBnClickedButtonDir();
44 afx_msg void OnBnClickedButtonFrom();
45 afx_msg void OnBnClickedButtonTo();
46 afx_msg void OnBnClickedOk();
47 afx_msg void OnBnClickedRadio();
48 afx_msg void OnBnClickedButtonRef();
49 afx_msg void OnBnClickedButtonUnifieddiff();
51 CHistoryCombo m_cDir;
52 CHistoryCombo m_cSince;
53 CHistoryCombo m_cFrom;
54 CHistoryCombo m_cTo;
55 CSpinButtonCtrl m_spinNum;
56 CEdit m_cNum;
57 CRegDWORD m_regSendMail;
59 DECLARE_MESSAGE_MAP()
60 public:
61 int m_Num;
62 CString m_Dir;
63 CString m_From;
64 CString m_To;
65 CString m_Since;
66 int m_Radio;
67 BOOL m_bSendMail;