1
// TortoiseGitMerge - a Diff/Patch program
3 // Copyright (C) 2021, 2023 - TortoiseGit
4 // Copyright (C) 2006-2008, 2010-2012 - TortoiseSVN
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software Foundation,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 #error include 'stdafx.h' before including this file for PCH
26 #include "resource.h" // main symbols
29 * \ingroup TortoiseMerge
30 * The application class of TortoiseMerge.
32 class CTortoiseMergeApp
: public CWinAppEx
41 BOOL
InitInstance() override
;
42 int ExitInstance() override
;
43 void OnClosingMainFrame(CFrameImpl
* pFrameImpl
) override
;
46 BOOL
LoadWindowPlacement(CRect
& rectNormalPosition
, int& nFflags
, int& nShowCmd
) override
;
47 afx_msg
void OnAppAbout();
50 bool HasClipboardPatch();
51 static bool TrySavePatchFromClipboard(std::wstring
& resultFile
);
52 bool m_hasConflicts
= false;
55 extern CTortoiseMergeApp theApp
;
56 extern CString g_sGroupingUUID
;