Moved #include "git2.h" to stdafx.h
[TortoiseGit.git] / src / TortoiseProc / stdafx.h
blobb68036b3b8915029d689c3992bc42d82e85862ee
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
6 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseGit\\"
8 #include "..\targetver.h"
10 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
12 // turns off MFC's hiding of some common and often safely ignored warning messages
13 #define _AFX_ALL_WARNINGS
15 #include <afxwin.h> // MFC core and standard components
16 #include <afxext.h> // MFC extensions
17 #include <WinSock2.h>
18 #include <Ws2tcpip.h>
19 #include <Wspiapi.h>
21 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
22 #ifndef _AFX_NO_AFXCMN_SUPPORT
23 #include <afxcmn.h> // MFC support for Windows Common Controls
24 #endif // _AFX_NO_AFXCMN_SUPPORT
25 #include <afxdlgs.h>
26 #include <afxctl.h>
27 #include <afxtempl.h>
28 #include <afxmt.h>
29 #include <afxext.h> // MFC extensions
30 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
32 #include <atlbase.h>
34 #ifndef LVS_EX_DOUBLEBUFFER
35 #define LVS_EX_DOUBLEBUFFER 0x00010000
36 #endif
38 #pragma warning(push)
39 #include "git2.h"
40 #pragma warning(pop)
42 #pragma warning(push)
43 #pragma warning(disable: 4702) // Unreachable code warnings in xtree
44 #include <string>
45 #include <vector>
46 #include <map>
47 #include <set>
48 #include <algorithm>
49 #include <functional>
50 #pragma warning(pop)
52 #pragma warning(push)
53 #pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union (in MMSystem.h)
54 #include <vfw.h>
55 #include <shlobj.h>
56 #include <Shlwapi.h>
57 #include <shlguid.h>
58 #include <uxtheme.h>
59 #include <dlgs.h>
60 #include <wininet.h>
61 #include <assert.h>
62 #include <math.h>
63 #include <gdiplus.h>
64 #pragma warning(pop)
67 #define __WIN32__
70 #define USE_GDI_GRADIENT
71 #define HISTORYCOMBO_WITH_SYSIMAGELIST
73 #include "ProfilingInfo.h"
74 #include <afxdhtml.h>
76 #ifdef _WIN64
77 # define APP_X64_STRING "x64"
78 #else
79 # define APP_X64_STRING ""
80 #endif
82 #pragma warning(disable: 4512) // assignment operator could not be generated
83 #pragma warning(disable: 4355) // used in base member initializer list