OSDN Git Service

Add swtich fetch branch tag command at ContextMenu.cpp
[tortoisegit/TortoiseGitJp.git] / src / TortoiseMerge / 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 \r
7 #ifndef VC_EXTRALEAN\r
8 //#define VC_EXTRALEAN          // Exclude rarely-used stuff from Windows headers\r
9 #endif\r
10 \r
11 // Modify the following defines if you have to target a platform prior to the ones specified below.\r
12 // Refer to MSDN for the latest info on corresponding values for different platforms.\r
13 #ifndef WINVER                          // Allow use of features specific to Windows 2000 or later.\r
14 #define WINVER 0x0501           // Change this to the appropriate value to target Windows 2000 or later.\r
15 #endif\r
16 \r
17 #ifndef _WIN32_WINNT            // Allow use of features specific to Windows NT 4 or later.\r
18 #define _WIN32_WINNT 0x0501             // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.\r
19 #endif                                          \r
20 \r
21 #ifndef _WIN32_WINDOWS          // Allow use of features specific to Windows 2000 or later.\r
22 #define _WIN32_WINDOWS 0x0500 // Change this to the appropriate value to target Windows Me or later.\r
23 #endif\r
24 \r
25 #ifndef _WIN32_IE                       // Allow use of features specific to IE 4.0 or later.\r
26 #define _WIN32_IE 0x0500        // Change this to the appropriate value to target IE 5.0 or later.\r
27 #endif\r
28 \r
29 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit\r
30 \r
31 // turns off MFC's hiding of some common and often safely ignored warning messages\r
32 #define _AFX_ALL_WARNINGS\r
33 \r
34 #include <afxwin.h>         // MFC core and standard components\r
35 #include <afxext.h>         // MFC extensions\r
36 #include <afxdisp.h>        // MFC Automation classes\r
37 #include <afxcoll.h>            // MFC Collection templates and classes\r
38 #include <shlwapi.h>            // Shell API\r
39 \r
40 #include <afxdtctl.h>           // MFC support for Internet Explorer 4 Common Controls\r
41 #ifndef _AFX_NO_AFXCMN_SUPPORT\r
42 #include <afxcmn.h>                     // MFC support for Windows Common Controls\r
43 #endif // _AFX_NO_AFXCMN_SUPPORT\r
44 \r
45 #include <WinSock2.h>\r
46 #include <Ws2tcpip.h>\r
47 #include <Wspiapi.h>\r
48 \r
49 #include <afxdlgs.h>\r
50 #include <afxctl.h>\r
51 #include <afxext.h>         // MFC extensions\r
52 #include <afxcontrolbars.h>     // MFC support for ribbons and control bars\r
53 \r
54 #ifndef LVS_EX_DOUBLEBUFFER\r
55 #define LVS_EX_DOUBLEBUFFER     0x00010000\r
56 #endif\r
57 \r
58 #pragma warning(push)\r
59 #pragma warning(disable: 4201)  // nonstandard extension used : nameless struct/union (in MMSystem.h)\r
60 #include <vfw.h>\r
61 #pragma warning(pop)\r
62 \r
63 #pragma warning(push)\r
64 #pragma warning(disable: 4702)  // Unreachable code warnings in xtree\r
65 #include <string>\r
66 #include <map>\r
67 #include <vector>\r
68 #pragma warning(pop)\r
69 \r
70 #define USE_GDI_GRADIENT\r
71 \r
72 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseMerge\\"\r
73 \r
74 #ifdef _WIN64\r
75 #       define APP_X64_STRING   "x64"\r
76 #else\r
77 #       define APP_X64_STRING ""\r
78 #endif\r