GME
13
|
00001 // stdafx.h : include file for standard system include files, 00002 // or project specific include files that are used frequently, 00003 // but are changed infrequently 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 #define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS 1 00009 #ifdef _DEBUG 00010 // #define _ATL_DEBUG_INTERFACES 1 00011 #endif 00012 00013 #pragma once 00014 00015 #ifndef _SECURE_ATL 00016 #define _SECURE_ATL 1 00017 #endif 00018 00019 #ifndef VC_EXTRALEAN 00020 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers 00021 #endif 00022 00023 // #define CORE_USE_EASTL 00024 00025 #ifdef CORE_USE_EASTL 00026 #define EA_CHAR16_NATIVE 1 00027 #include "EASTL/list.h" 00028 #include "EASTL/hash_map.h" 00029 #include "EASTL/hash_set.h" 00030 #else 00031 #include <hash_set> 00032 #include <forward_list> 00033 #endif 00034 00035 #include <hash_map> 00036 00037 namespace core { 00038 #ifdef CORE_USE_EASTL 00039 using eastl::hash_map; 00040 using eastl::hash_set; 00041 using eastl::pair; 00042 using eastl::list; 00043 #else 00044 using stdext::hash_set; 00045 using stdext::hash_map; 00046 using std::list; 00047 using std::forward_list; 00048 using std::pair; 00049 #endif 00050 } 00051 00052 #include "targetver.h" 00053 00054 #define _CRT_SECURE_NO_WARNINGS 00055 00056 00057 #define _ATL_APARTMENT_THREADED 00058 00059 00060 #include <atlbase.h> 00061 //You may derive a class from CComModule and use it if you want to override 00062 //something, but do not change the name of _Module 00063 extern CComModule _Module; 00064 #include <atlcom.h> 00065 00066 00067 #define _NOTHREADS 00068 00069 00070 #define ASSERT ATLASSERT 00071 00072 #include "resource.h" 00073 #import "CoreLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry 00074 #include "CommonImport.h" 00075 #define IID_ICoreDictionaryAttributeValue __uuidof(ICoreDictionaryAttributeValue) 00076 #define LIBID_MGACoreLib __uuidof(__MGACoreLib) 00077 00078 #include "CommonSmart.h" 00079 #include "CommonStl.h" 00080 #include "CoreUtilities.h" 00081 00082 #include "CoreProject.h" 00083 00084 00085 extern HRESULT check_location_compatibility(ICoreMetaObject *newobj, ICoreMetaObject *oldobj); 00086 extern HRESULT check_location_compatibility(ICoreMetaAttribute *newobj, ICoreMetaAttribute *oldobj); 00087 00088 extern HRESULT check_location_compatibility(ICoreObject *newobj, ICoreObject *oldobj); 00089 extern HRESULT check_location_compatibility(ICoreAttribute *newobj, ICoreAttribute *oldobj); 00090 00091 00092 00093 #ifdef _DEBUG 00094 //#define DEBUG_REPOSITORY 00095 //#define DEBUG_OBJECTLOOKUP 00096 //#define DEBUG_CONTAINERS // this is really slow 00097 //#define TRACE_REPOSITORY 00098 //#define TRACE_CORE 00099 #endif 00100 00101 //{{AFX_INSERT_LOCATION}} 00102 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00103 00104 #endif // !defined(AFX_STDAFX_H__9E9AAAD2_28B8_11D3_B36C_0060082DF884__INCLUDED)