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, but
00003 //      are changed infrequently
00004 //
00005 
00006 #if !defined(AFX_STDAFX_H__461F30A9_3BF0_11D4_B3F0_005004D38590__INCLUDED_)
00007 #define AFX_STDAFX_H__461F30A9_3BF0_11D4_B3F0_005004D38590__INCLUDED_
00008 
00009 #pragma once
00010 
00011 #define NOMINMAX
00012 
00013 #ifndef _SECURE_ATL
00014 #define _SECURE_ATL 1
00015 #endif
00016 
00017 #ifndef VC_EXTRALEAN
00018 #define VC_EXTRALEAN            // Exclude rarely-used stuff from Windows headers
00019 #endif
00020 
00021 #define ISOLATION_AWARE_ENABLED 1
00022 
00023 #include "targetver.h"
00024 
00025 #define _CRT_SECURE_NO_WARNINGS
00026 
00027 //#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit
00028 
00029 // turns off MFC's hiding of some common and often safely ignored warning messages
00030 #define _AFX_ALL_WARNINGS
00031 
00032 #include <afxwin.h>         // MFC core and standard components
00033 #include <afxext.h>         // MFC extensions
00034 
00035 #ifndef _AFX_NO_OLE_SUPPORT
00036 #include <afxole.h>         // MFC OLE classes
00037 #include <afxodlgs.h>       // MFC OLE dialog classes
00038 #include <afxdisp.h>        // MFC Automation classes
00039 #endif // _AFX_NO_OLE_SUPPORT
00040 
00041  
00042 #include <afxdtctl.h>           // MFC support for Internet Explorer 4 Common Controls
00043 #ifndef _AFX_NO_AFXCMN_SUPPORT
00044 #include <afxcmn.h>                     // MFC support for Windows Common Controls
00045 #endif // _AFX_NO_AFXCMN_SUPPORT
00046 
00047 # undef  _ATL_APARTMENT_THREADED
00048 # undef  _ATL_SINGLE_THREADED
00049 # define _ATL_FREE_THREADED
00050 
00051 #include <atlbase.h>
00052 //You may derive a class from CComModule and use it if you want to override
00053 //something, but do not change the name of _Module
00054 extern CComModule _Module;
00055 #include <atlcom.h>
00056 
00057 #include <CommCtrl.h>
00058 
00059 #define wireHWND HWND
00060 
00061 // Imports
00062 #import "CoreLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00063 #import "MetaLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00064 #import "MgaLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00065 #import "MgaUtilLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00066 #import "ParserLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00067 #import "GMELib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00068 
00069 #include "CommonImport.h"
00070 
00071 #define cpp_quote(x) 
00072 #include "Interfaceversion.h"
00073 #undef cpp_quote
00074 typedef GMEInterfaceVersion_enum GMEInterfaceVersion;
00075 
00076 // Don't load the MIDL-generated headers
00077 #define __Core_h__
00078 #define __Meta_h__
00079 #define __Mga_h__
00080 #define __MgaUtil_h__
00081 #define __MgaUtilLib_h__
00082 #define __Parser_h__
00083 #define __Gme_h__
00084 // End Imports
00085 
00087 
00088 #define chSTR(x) #x
00089 #define chSTR2(x) chSTR(x)
00090 #define bookmark(desc) message(__FILE__"("\
00091  chSTR2(__LINE__) ") : PRAGMA-- " #desc )
00092 
00094 
00095 #include <vector>
00096 #include <list>
00097 
00098 #include "CommonSmart.h"
00099 #include "CommonStl.h"
00100 #include "CommonError.h"
00101 #include "CommonMfc.h"
00102 #include "CommonMgaTrukk.h"
00104 
00105 #ifndef __AFXTEMPL_H__
00106 #include <afxtempl.h>
00107 #endif
00108 
00109 #include "Resource.h"
00110 
00111 regaccessmode_enum regacc_translate(int x);
00112 //{{AFX_INSERT_LOCATION}}
00113 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00114 
00115 #endif // !defined(AFX_STDAFX_H__461F30A9_3BF0_11D4_B3F0_005004D38590__INCLUDED_)