Instead of showing an empty patch, show a message box saying no change
[TortoiseGit.git] / src / TortoiseMerge / RegexFilterDlg.h
blob157d42a504f9250d5a2774c13bb52b62135fe2a0
1 // TortoiseMerge - a Diff/Patch program
3 // Copyright (C) 2013-2014 - TortoiseSVN
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 // CRegexFilterDlg dialog
24 class CRegexFilterDlg : public CDialogEx
26 DECLARE_DYNAMIC(CRegexFilterDlg)
28 public:
29 CRegexFilterDlg(CWnd* pParent = NULL); // standard constructor
30 virtual ~CRegexFilterDlg();
32 // Dialog Data
33 enum { IDD = IDD_REGEXFILTER };
35 CString m_sName;
36 CString m_sRegex;
37 CString m_sReplace;
39 protected:
40 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
41 virtual BOOL OnInitDialog();
42 virtual void OnOK();
43 void ShowEditBalloon(UINT nIdControl, UINT nIdText, UINT nIdTitle, int nIcon = TTI_WARNING);
45 DECLARE_MESSAGE_MAP()