00001
00002
00003
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 #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 #include "targetver.h"
00019
00020 #define _CRT_SECURE_NO_WARNINGS
00021 #define _SCL_SECURE_NO_WARNINGS
00022
00023 #define _ATL_APARTMENT_THREADED
00024
00025 #include <atlbase.h>
00026
00027
00028 extern CComModule _Module;
00029 #include <atlcom.h>
00030
00031
00032 #define ASSERT ATLASSERT
00033
00034 #include "resource.h"
00035 #include "Core.h"
00036 #include "Gme.h"
00037 #include "MetaLib.h"
00038 #include "CommonSmart.h"
00039 #include "CommonStl.h"
00040 #include "MetaUtilities.h"
00041 #include "CoreMetaDefines.h"
00042
00043 typedef IMgaConstraint IMgaMetaConstraint;
00044 typedef IMgaConstraints IMgaMetaConstraints;
00045
00046 typedef CCoreCollectionEx<IMgaMetaRoles, std::vector<IMgaMetaRole*>,
00047 IMgaMetaRole, IMgaMetaRole, &CLSID_MgaMetaRoles, IDR_MGAMETAROLES> RolesExCOMType;
00048 typedef CCoreCollectionEx<IMgaMetaFCOs, std::vector<IMgaMetaFCO*>,
00049 IMgaMetaFCO, IMgaMetaFCO, &CLSID_MgaMetaFCOs, IDR_MGAMETAFCOS> FCOsExCOMType;
00050
00051 extern HRESULT check_location_compatibility(IMgaMetaBase *newobj, IMgaMetaBase *oldobj);
00052
00053
00054
00055
00056 #endif // !defined(AFX_STDAFX_H__0ADEEC74_D83A_11D3_B36B_005004D38590__INCLUDED)