If CTGitPathList::ParserFromLsFile() fails, write the output to temp file for inspection
[TortoiseGit.git] / src / TortoiseMerge / stdafx.h
blobd6af8368287a0cc597419822e9f2b70bfd287063
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 _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
17 // turns off MFC's hiding of some common and often safely ignored warning messages
18 #define _AFX_ALL_WARNINGS
20 #include <afxwin.h> // MFC core and standard components
21 #include <afxext.h> // MFC extensions
22 #include <afxdisp.h> // MFC Automation classes
23 #include <afxcoll.h> // MFC Collection templates and classes
24 #include <shlwapi.h> // Shell API
26 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
27 #ifndef _AFX_NO_AFXCMN_SUPPORT
28 #include <afxcmn.h> // MFC support for Windows Common Controls
29 #endif // _AFX_NO_AFXCMN_SUPPORT
31 #include <WinSock2.h>
32 #include <Ws2tcpip.h>
33 #include <Wspiapi.h>
35 #include <afxdlgs.h>
36 #include <afxctl.h>
37 #include <afxext.h> // MFC extensions
38 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
40 #ifndef LVS_EX_DOUBLEBUFFER
41 #define LVS_EX_DOUBLEBUFFER 0x00010000
42 #endif
44 #pragma warning(push)
45 #pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union (in MMSystem.h)
46 #include <vfw.h>
47 #pragma warning(pop)
49 #pragma warning(push)
50 #pragma warning(disable: 4702) // Unreachable code warnings in xtree
51 #include <string>
52 #include <map>
53 #include <vector>
54 #pragma warning(pop)
56 #pragma warning(push)
57 #include "apr_general.h"
58 #include "svn_pools.h"
59 #include "svn_path.h"
60 #include "svn_wc.h"
61 #include "svn_utf.h"
62 #include "svn_config.h"
63 #include "svn_error_codes.h"
64 #pragma warning(pop)
66 #define USE_GDI_GRADIENT
68 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseGitMerge\\"
70 #include "ProfilingInfo.h"
71 #include "CrashReport.h"
73 #ifdef _WIN64
74 # define APP_X64_STRING "x64"
75 #else
76 # define APP_X64_STRING ""
77 #endif