blob: 86caf00be6d852c3c3bfa2c59d27896b1ec16306 [file] [log] [blame]
Raphael Moll6b94c862014-09-05 15:54:04 -07001/*
2* Copyright (C) 2014 The Android Open Source Project
3*
4* Licensed under the Apache License, Version 2.0 (the "License");
5* you may not use this file except in compliance with the License.
6* You may obtain a copy of the License at
7*
8* http://www.apache.org/licenses/LICENSE-2.0
9*
10* Unless required by applicable law or agreed to in writing, software
11* distributed under the License is distributed on an "AS IS" BASIS,
12* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13* See the License for the specific language governing permissions and
14* limitations under the License.
15*/
16
17// stdafx.h : include file for standard system include files,
18// or project specific include files that are used frequently,
19// but are changed infrequently
20
21#pragma once
22
23#ifndef VC_EXTRALEAN
24#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
25#endif
26
27#include "targetver.h"
28
29#define _CRT_SECURE_NO_WARNINGS
30
31#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
32
33// turns off MFC's hiding of some common and often safely ignored warning messages
34#define _AFX_ALL_WARNINGS
35
36#include <afxwin.h> // MFC core and standard components
37#include <afxext.h> // MFC extensions
38
39
40#include <afxdisp.h> // MFC Automation classes
41
42
43
44#ifndef _AFX_NO_OLE_SUPPORT
45#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
46#endif
47#ifndef _AFX_NO_AFXCMN_SUPPORT
48#include <afxcmn.h> // MFC support for Windows Common Controls
49#endif // _AFX_NO_AFXCMN_SUPPORT
50
51#include <afxcontrolbars.h> // MFC support for ribbons and control bars
52
53
54
55
56#ifdef _UNICODE
57#if defined _M_IX86
58#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
59#elif defined _M_X64
60#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
61#else
62#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
63#endif
64#endif
65
66