BrowseRefsDlg: Insert separator into filter context menu
[TortoiseGit.git] / src / TortoiseGitBlame / stdafx.h
blobfd63d5f1195d50f0adf853cf0ac22ce93aa0c168
1 
2 // stdafx.h : include file for standard system include files,
3 // or project specific include files that are used frequently,
4 // but are changed infrequently
6 #pragma once
8 #ifndef _SECURE_ATL
9 #define _SECURE_ATL 1
10 #endif
12 #ifndef VC_EXTRALEAN
13 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
14 #endif
16 #include "../targetver.h"
18 #define NOMINMAX
19 #include <algorithm>
20 using std::max;
21 using std::min;
23 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
25 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
27 // turns off MFC's hiding of some common and often safely ignored warning messages
28 #define _AFX_ALL_WARNINGS
30 #include <afxwin.h> // MFC core and standard components
31 #include <afxext.h> // MFC extensions
33 #include <afxstr.h>
35 #include <afxdisp.h> // MFC Automation classes
36 #include <Commctrl.h>
38 #include "git2.h"
39 #include "SmartLibgit2Ref.h"
41 #ifndef _AFX_NO_OLE_SUPPORT
42 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
43 #endif
44 #ifndef _AFX_NO_AFXCMN_SUPPORT
45 #include <afxcmn.h> // MFC support for Windows Common Controls
46 #endif // _AFX_NO_AFXCMN_SUPPORT
48 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
50 #include "scope_exit_noexcept.h"
51 #include "DebugOutput.h"
53 #include <string>
54 #include <vector>
55 #include <map>
56 #include <fstream>
57 #include <set>
58 #include <functional>
60 #define USE_GDI_GRADIENT
61 #define HISTORYCOMBO_WITH_SYSIMAGELIST
63 #ifdef _UNICODE
64 #if defined _M_IX86
65 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
66 #elif defined _M_IA64
67 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
68 #elif defined _M_X64
69 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
70 #else
71 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
72 #endif
73 #endif