Provide (experimental) clang-format file
[TortoiseGit.git] / src / TortoiseProc / FormatPatchDlg.h
blob878d46600997388558f57d8833bf90eb2f6eac00
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2012, 2016 - 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 = nullptr); // standard constructor
34 virtual ~CFormatPatchDlg();
36 // Dialog Data
37 enum { IDD = IDD_FORMAT_PATCH };
39 protected:
40 virtual void DoDataExchange(CDataExchange* pDX) override; // DDX/DDV support
41 virtual BOOL OnInitDialog() override;
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;
58 CRegDWORD m_regNoPrefix;
59 CRegString m_regSince;
61 DECLARE_MESSAGE_MAP()
62 public:
63 int m_Num;
64 CString m_Dir;
65 CString m_From;
66 CString m_To;
67 CString m_Since;
68 int m_Radio;
69 BOOL m_bSendMail;
70 BOOL m_bNoPrefix;