some spaces-tabs code cleanup
[TortoiseGit.git] / src / TortoiseProc / FormatPatchDlg.h
blob4d1eb1de3ebe0b066d24b381709f505488ac74e8
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2011 - 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 CHistoryCombo m_cDir;
44 CHistoryCombo m_cSince;
45 CHistoryCombo m_cFrom;
46 CHistoryCombo m_cTo;
47 CSpinButtonCtrl m_spinNum;
48 CEdit m_cNum;
49 CRegDWORD m_regSendMail;
51 DECLARE_MESSAGE_MAP()
52 public:
53 int m_Num;
54 CString m_Dir;
55 CString m_From;
56 CString m_To;
57 CString m_Since;
58 int m_Radio;
59 BOOL m_bSendMail;
61 afx_msg void OnBnClickedButtonDir();
62 afx_msg void OnBnClickedButtonFrom();
63 afx_msg void OnBnClickedButtonTo();
64 afx_msg void OnBnClickedOk();
65 afx_msg void OnBnClickedRadio();
66 afx_msg void OnBnClickedButtonRef();