Extend static functions in CAppUtils with a window handle parameter
[TortoiseGit.git] / src / TortoiseProc / stdafx.h
blobcbb8f5c7bcd54e3c8aae599aa36672ba91c99046
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 #include "git2.h"
35 #include "SmartLibgit2Ref.h"
37 #include <string>
38 #include <vector>
39 #include <map>
40 #include <set>
41 #include <algorithm>
42 #include <functional>
44 #include <vfw.h>
45 #include <shlobj.h>
46 #include <Shlwapi.h>
47 #include <shlguid.h>
48 #include <uxtheme.h>
49 #include <dlgs.h>
50 #include <wininet.h>
51 #include <assert.h>
52 #include <math.h>
53 #include <gdiplus.h>
55 #define __WIN32__
58 #define USE_GDI_GRADIENT
59 #define HISTORYCOMBO_WITH_SYSIMAGELIST
61 #include "scope_exit_noexcept.h"
62 #include "ProfilingInfo.h"
63 #include "DebugOutput.h"
64 #include <afxdhtml.h>
66 #ifdef _WIN64
67 # define APP_X64_STRING "x64"
68 #else
69 # define APP_X64_STRING ""
70 #endif