Drop unused printing code templates
[TortoiseGit.git] / src / TortoiseMerge / stdafx.h
blobcd85bdaaa5a8ac3647b36deeb114f28324ea9cf3
1 // stdafx.h : include file for standard system include files,
2 // or project specific include files that are used frequently,
3 // but are changed infrequently
5 #pragma once
7 #ifndef VC_EXTRALEAN
8 //#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
9 #endif
11 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
13 #include "../targetver.h"
15 #define NOMINMAX
16 #include <algorithm>
17 using std::max;
18 using std::min;
20 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
22 // turns off MFC's hiding of some common and often safely ignored warning messages
23 #define _AFX_ALL_WARNINGS
25 #include <afxwin.h> // MFC core and standard components
26 #include <afxext.h> // MFC extensions
27 #include <afxdisp.h> // MFC Automation classes
28 #include <afxcoll.h> // MFC Collection templates and classes
29 #include <shlwapi.h> // Shell API
31 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
32 #ifndef _AFX_NO_AFXCMN_SUPPORT
33 #include <afxcmn.h> // MFC support for Windows Common Controls
34 #endif // _AFX_NO_AFXCMN_SUPPORT
36 #include <WinSock2.h>
37 #include <Ws2tcpip.h>
38 #include <Wspiapi.h>
40 #include <afxdlgs.h>
41 #include <afxctl.h>
42 #include <afxext.h> // MFC extensions
43 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
44 #include <afxtaskdialog.h>
46 #include <UIRibbon.h> // Native Ribbon API
47 #include <UIRibbonPropertyHelpers.h>
49 #include <vfw.h>
51 #include <string>
52 #include <map>
53 #include <vector>
54 #include <list>
56 #pragma warning(push)
57 #include "apr_general.h"
58 #include "svn_pools.h"
59 #include "svn_path.h"
60 #include "svn_utf.h"
61 #include "svn_error_codes.h"
62 #pragma warning(pop)
64 #include "DebugOutput.h"
66 #include "git2.h"
67 #include "SmartLibgit2Ref.h"
69 #define USE_GDI_GRADIENT
71 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseGitMerge\\"
73 #include "scope_exit_noexcept.h"
74 #include "ProfilingInfo.h"
75 #include "CrashReport.h"
77 #ifdef _WIN64
78 # define APP_X64_STRING "x64"
79 #else
80 # define APP_X64_STRING ""
81 #endif