Sync translations with Transifex
[TortoiseGit.git] / src / TortoiseMerge / stdafx.h
blob4c3bd09feacefaab55b6a0e2c0a39458a59238a3
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
39 #include <afxtaskdialog.h>
41 #include <vfw.h>
43 #include <string>
44 #include <map>
45 #include <vector>
46 #include <algorithm>
48 #pragma warning(push)
49 #include "apr_general.h"
50 #include "svn_pools.h"
51 #include "svn_path.h"
52 #include "svn_utf.h"
53 #include "svn_error_codes.h"
54 #pragma warning(pop)
56 #include "DebugOutput.h"
58 #pragma warning(push)
59 #include "git2.h"
60 #pragma warning(pop)
61 #include "SmartLibgit2Ref.h"
63 #define USE_GDI_GRADIENT
65 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseGitMerge\\"
67 #include "ProfilingInfo.h"
68 #include "CrashReport.h"
70 #ifdef _WIN64
71 # define APP_X64_STRING "x64"
72 #else
73 # define APP_X64_STRING ""
74 #endif