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