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