00001
00002
00003
00004
00005 #if !defined(AFX_STDAFX_H__9E9AAAD2_28B8_11D3_B36C_0060082DF884__INCLUDED_)
00006 #define AFX_STDAFX_H__9E9AAAD2_28B8_11D3_B36C_0060082DF884__INCLUDED_
00007
00008 #pragma once
00009
00010 #ifndef _SECURE_ATL
00011 #define _SECURE_ATL 1
00012 #endif
00013
00014 #ifndef VC_EXTRALEAN
00015 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
00016 #endif
00017
00018
00019
00020 #ifdef CORE_USE_EASTL
00021 #define EA_CHAR16_NATIVE 1
00022 #include "EASTL/list.h"
00023 #include "EASTL/hash_map.h"
00024 #include "EASTL/hash_set.h"
00025 #else
00026 #include <hash_set>
00027 #include <forward_list>
00028 #endif
00029
00030 #include <hash_map>
00031
00032 namespace core {
00033 #ifdef CORE_USE_EASTL
00034 using eastl::hash_map;
00035 using eastl::hash_set;
00036 using eastl::pair;
00037 using eastl::list;
00038 #else
00039 using stdext::hash_set;
00040 using stdext::hash_map;
00041 using std::list;
00042 using std::forward_list;
00043 using std::pair;
00044 #endif
00045 }
00046
00047 #include "targetver.h"
00048
00049 #define _CRT_SECURE_NO_WARNINGS
00050
00051
00052 #define _ATL_APARTMENT_THREADED
00053
00054
00055 #include <atlbase.h>
00056
00057
00058 extern CComModule _Module;
00059 #include <atlcom.h>
00060
00061
00062 #define _NOTHREADS
00063
00064
00065 #define ASSERT ATLASSERT
00066
00067 #include "resource.h"
00068 #import "CoreLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00069 #include "CommonImport.h"
00070 #define IID_ICoreDictionaryAttributeValue __uuidof(ICoreDictionaryAttributeValue)
00071 #define LIBID_MGACoreLib __uuidof(__MGACoreLib)
00072
00073 #include "CommonSmart.h"
00074 #include "CommonStl.h"
00075 #include "CoreUtilities.h"
00076
00077 #include "CoreProject.h"
00078
00079
00080 extern HRESULT check_location_compatibility(ICoreMetaObject *newobj, ICoreMetaObject *oldobj);
00081 extern HRESULT check_location_compatibility(ICoreMetaAttribute *newobj, ICoreMetaAttribute *oldobj);
00082
00083 extern HRESULT check_location_compatibility(ICoreObject *newobj, ICoreObject *oldobj);
00084 extern HRESULT check_location_compatibility(ICoreAttribute *newobj, ICoreAttribute *oldobj);
00085
00086
00087
00088 #ifdef _DEBUG
00089
00090
00091
00092
00093
00094 #endif
00095
00096
00097
00098
00099 #endif // !defined(AFX_STDAFX_H__9E9AAAD2_28B8_11D3_B36C_0060082DF884__INCLUDED)