Fixed issue #1507: Submodule Diff Dialog should show dirty state only on working...
[TortoiseGit.git] / src / TortoiseMerge / stdafx.h
blob6e84fab32dc69f52721ca2b612f450df01cde482
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 <afxstr.h>
28 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
29 #ifndef _AFX_NO_AFXCMN_SUPPORT
30 #include <afxcmn.h> // MFC support for Windows Common Controls
31 #endif // _AFX_NO_AFXCMN_SUPPORT
33 #include <WinSock2.h>
34 #include <Ws2tcpip.h>
35 #include <Wspiapi.h>
37 #include <afxdlgs.h>
38 #include <afxctl.h>
39 #include <afxext.h> // MFC extensions
40 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
42 #ifndef LVS_EX_DOUBLEBUFFER
43 #define LVS_EX_DOUBLEBUFFER 0x00010000
44 #endif
46 #pragma warning(push)
47 #pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union (in MMSystem.h)
48 #include <vfw.h>
49 #pragma warning(pop)
51 #pragma warning(push)
52 #pragma warning(disable: 4702) // Unreachable code warnings in xtree
53 #include <string>
54 #include <map>
55 #include <vector>
56 #pragma warning(pop)
58 #define USE_GDI_GRADIENT
60 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseMerge\\"
62 #include "..\Utils\CrashReport.h"
64 #ifdef _WIN64
65 # define APP_X64_STRING "x64"
66 #else
67 # define APP_X64_STRING ""
68 #endif