OSDN Git Service

Add SYNC dialog
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / stdafx.h
1 // stdafx.h : include file for standard system include files,\r
2 // or project specific include files that are used frequently,\r
3 // but are changed infrequently\r
4 \r
5 #pragma once\r
6 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseGit\\"\r
7 \r
8 // Modify the following defines if you have to target a platform prior to the ones specified below.\r
9 // Refer to MSDN for the latest info on corresponding values for different platforms.\r
10 #ifndef WINVER\r
11 #       define WINVER 0x0501\r
12 #endif\r
13 #ifndef _WIN32_WINNT\r
14 #       define _WIN32_WINNT 0x0501\r
15 #endif                                          \r
16 #ifndef _WIN32_WINDOWS\r
17 #       define _WIN32_WINDOWS 0x0501\r
18 #endif\r
19 \r
20 \r
21 \r
22 #ifndef _WIN32_IE\r
23 #define _WIN32_IE 0x0501\r
24 #endif\r
25 \r
26 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit\r
27 \r
28 // turns off MFC's hiding of some common and often safely ignored warning messages\r
29 #define _AFX_ALL_WARNINGS\r
30 \r
31 #include <afxwin.h>         // MFC core and standard components\r
32 #include <afxext.h>         // MFC extensions\r
33 #include <WinSock2.h>\r
34 #include <Ws2tcpip.h>\r
35 #include <Wspiapi.h>\r
36 \r
37 #include <afxdtctl.h>           // MFC support for Internet Explorer 4 Common Controls\r
38 #ifndef _AFX_NO_AFXCMN_SUPPORT\r
39 #include <afxcmn.h>                     // MFC support for Windows Common Controls\r
40 #endif // _AFX_NO_AFXCMN_SUPPORT\r
41 #include <afxdlgs.h>\r
42 #include <afxctl.h>\r
43 #include <afxtempl.h>\r
44 #include <afxmt.h>\r
45 #include <afxext.h>         // MFC extensions\r
46 #include <afxcontrolbars.h>     // MFC support for ribbons and control bars\r
47 \r
48 #include <atlbase.h>\r
49 #include <gdiplus.h>\r
50 \r
51 #ifndef LVS_EX_DOUBLEBUFFER\r
52 #define LVS_EX_DOUBLEBUFFER     0x00010000\r
53 #endif\r
54 \r
55 \r
56 #pragma warning(push)\r
57 #pragma warning(disable: 4702)  // Unreachable code warnings in xtree\r
58 #include <string>\r
59 #include <vector>\r
60 #include <map>\r
61 #include <set>\r
62 #include <algorithm>\r
63 #pragma warning(pop)\r
64 \r
65 #pragma warning(push)\r
66 #pragma warning(disable: 4201)  // nonstandard extension used : nameless struct/union (in MMSystem.h)\r
67 #include <vfw.h>\r
68 #include <shlobj.h>\r
69 #include <Shlwapi.h>\r
70 #include <shlguid.h>\r
71 #include <uxtheme.h>\r
72 #include <tmschema.h>\r
73 #include <dlgs.h>\r
74 #include <wininet.h>\r
75 #include <assert.h>\r
76 #include <math.h>\r
77 #include <gdiplus.h>\r
78 #pragma warning(pop)\r
79 \r
80 \r
81 #define __WIN32__\r
82 \r
83 \r
84 #define USE_GDI_GRADIENT\r
85 #define HISTORYCOMBO_WITH_SYSIMAGELIST\r
86 \r
87 #include "ProfilingInfo.h"\r
88 #include <afxdhtml.h>\r
89 \r
90 #ifdef _WIN64\r
91 #       define APP_X64_STRING   "x64"\r
92 #else\r
93 #       define APP_X64_STRING ""\r
94 #endif\r
95 \r
96 #pragma warning(disable: 4512)  // assignment operator could not be generated\r
97 #pragma warning(disable: 4355)  // used in base member initializer list\r
98 \r