GME  13
StdAfx.h
Go to the documentation of this file.
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__0ADEEC74_D83A_11D3_B36B_005004D38590__INCLUDED_)
00006 #define AFX_STDAFX_H__0ADEEC74_D83A_11D3_B36B_005004D38590__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 #include "targetver.h"
00024 
00025 #define _CRT_SECURE_NO_WARNINGS
00026 #define _SCL_SECURE_NO_WARNINGS
00027 
00028 #define _ATL_APARTMENT_THREADED
00029 
00030 #include <atlbase.h>
00031 //You may derive a class from CComModule and use it if you want to override
00032 //something, but do not change the name of _Module
00033 extern CComModule _Module;
00034 #include <atlcom.h>
00035 
00036 
00037 #define ASSERT ATLASSERT
00038 
00039 #import "CoreLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00040 #import "MetaLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00041 #include "CommonImport.h"
00042 
00043 #include "resource.h"
00044 //#include "Core.h"
00045 //#include "Gme.h"
00046 //#include "MetaLib.h"
00047 #include "CommonSmart.h"
00048 #include "CommonStl.h"
00049 #include "MetaUtilities.h"
00050 #include "CoreMetaDefines.h"
00051 
00052 typedef IMgaConstraint IMgaMetaConstraint;
00053 typedef IMgaConstraints IMgaMetaConstraints;
00054 
00055 typedef CCoreCollectionEx<IMgaMetaRoles, std::vector<IMgaMetaRole*>,
00056                         IMgaMetaRole, IMgaMetaRole, &__uuidof(MgaMetaRoles), IDR_MGAMETAROLES> RolesExCOMType;
00057 typedef CCoreCollectionEx<IMgaMetaFCOs, std::vector<IMgaMetaFCO*>,
00058                         IMgaMetaFCO, IMgaMetaFCO, &__uuidof(MgaMetaFCOs), IDR_MGAMETAFCOS> FCOsExCOMType;
00059 
00060 extern HRESULT check_location_compatibility(IMgaMetaBase *newobj, IMgaMetaBase *oldobj);
00061 
00062 //{{AFX_INSERT_LOCATION}}
00063 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00064 
00065 #endif // !defined(AFX_STDAFX_H__0ADEEC74_D83A_11D3_B36B_005004D38590__INCLUDED)