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 #include "targetver.h" 24 *1789df15SXin Li 25 *1789df15SXin Li 26 *1789df15SXin Li #define _CRT_SECURE_NO_WARNINGS 27 *1789df15SXin Li 28 *1789df15SXin Li #include <stdio.h> 29 *1789df15SXin Li #include <tchar.h> 30 *1789df15SXin Li #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit 31 *1789df15SXin Li #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS // remove support for MFC controls in dialogs 32 *1789df15SXin Li 33 *1789df15SXin Li #ifndef VC_EXTRALEAN 34 *1789df15SXin Li #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers 35 *1789df15SXin Li #endif 36 *1789df15SXin Li 37 *1789df15SXin Li #include <afx.h> 38 *1789df15SXin Li #include <afxwin.h> // MFC core and standard components 39 *1789df15SXin Li #include <afxext.h> // MFC extensions 40 *1789df15SXin Li #ifndef _AFX_NO_OLE_SUPPORT 41 *1789df15SXin Li #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls 42 *1789df15SXin Li #endif 43 *1789df15SXin Li #ifndef _AFX_NO_AFXCMN_SUPPORT 44 *1789df15SXin Li #include <afxcmn.h> // MFC support for Windows Common Controls 45 *1789df15SXin Li #endif // _AFX_NO_AFXCMN_SUPPORT 46 *1789df15SXin Li 47 *1789df15SXin Li #include <iostream> 48 *1789df15SXin Li 49 *1789df15SXin Li 50 *1789df15SXin Li #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit 51 *1789df15SXin Li 52 *1789df15SXin Li #include <atlbase.h> 53 *1789df15SXin Li #include <atlstr.h> 54 *1789df15SXin Li 55 *1789df15SXin Li // TODO: reference additional headers your program requires here 56