TortoiseGitMerge: Use native ribbons
[TortoiseGit.git] / src / TortoiseMerge / stdafx.h
blob83439eda7163826992bdf9a2f40e6bdf56d1926c
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 <UIRibbon.h> // Native Ribbon API
42 #include <UIRibbonPropertyHelpers.h>
44 #include <vfw.h>
46 #include <string>
47 #include <map>
48 #include <vector>
49 #include <list>
50 #include <algorithm>
52 #pragma warning(push)
53 #include "apr_general.h"
54 #include "svn_pools.h"
55 #include "svn_path.h"
56 #include "svn_utf.h"
57 #include "svn_error_codes.h"
58 #pragma warning(pop)
60 #include "DebugOutput.h"
62 #include "git2.h"
63 #include "SmartLibgit2Ref.h"
65 #define USE_GDI_GRADIENT
67 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseGitMerge\\"
69 #include "scope_exit_noexcept.h"
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