Allow to reset filter easily
[TortoiseGit.git] / src / TortoiseProc / stdafx.h
bloba02a494f2e59ce99020c1f08a326bf5027faa007
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>
33 #include <gdiplus.h>
35 #ifndef LVS_EX_DOUBLEBUFFER
36 #define LVS_EX_DOUBLEBUFFER 0x00010000
37 #endif
40 #pragma warning(push)
41 #pragma warning(disable: 4702) // Unreachable code warnings in xtree
42 #include <string>
43 #include <vector>
44 #include <map>
45 #include <set>
46 #include <algorithm>
47 #pragma warning(pop)
49 #pragma warning(push)
50 #pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union (in MMSystem.h)
51 #include <vfw.h>
52 #include <shlobj.h>
53 #include <Shlwapi.h>
54 #include <shlguid.h>
55 #include <uxtheme.h>
56 #include <dlgs.h>
57 #include <wininet.h>
58 #include <assert.h>
59 #include <math.h>
60 #include <gdiplus.h>
61 #pragma warning(pop)
64 #define __WIN32__
67 #define USE_GDI_GRADIENT
68 #define HISTORYCOMBO_WITH_SYSIMAGELIST
70 #include "ProfilingInfo.h"
71 #include <afxdhtml.h>
73 #ifdef _WIN64
74 # define APP_X64_STRING "x64"
75 #else
76 # define APP_X64_STRING ""
77 #endif
79 #pragma warning(disable: 4512) // assignment operator could not be generated
80 #pragma warning(disable: 4355) // used in base member initializer list