GME  13
StdAfx.h
Go to the documentation of this file.
00001 #if !defined(AFX_STDAFX_H__16AA33FA_B59A_4910_9F60_CAA3FF9A3EF1__INCLUDED_)
00002 #define AFX_STDAFX_H__16AA33FA_B59A_4910_9F60_CAA3FF9A3EF1__INCLUDED_
00003 
00004 #pragma once
00005 
00006 #ifndef _SECURE_ATL
00007 #define _SECURE_ATL 1
00008 #endif
00009 
00010 #ifndef VC_EXTRALEAN
00011 #define VC_EXTRALEAN            // Exclude rarely-used stuff from Windows headers
00012 #endif
00013 
00014 #include "targetver.h"
00015 
00016 #define _CRT_SECURE_NO_WARNINGS
00017 
00018 //#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit
00019 
00020 // turns off MFC's hiding of some common and often safely ignored warning messages
00021 #define _AFX_ALL_WARNINGS
00022 
00023 
00024 #include <afxctl.h>         // MFC support for ActiveX Controls
00025 #include <afxext.h>         // MFC extensions
00026 #include <afxdtctl.h>           // MFC support for Internet Explorer 4 Comon Controls
00027 #ifndef _AFX_NO_AFXCMN_SUPPORT
00028 #include <afxcmn.h>                     // MFC support for Windows Common Controls
00029 #endif // _AFX_NO_AFXCMN_SUPPORT
00030 
00031 // Delete the two includes below if you do not wish to use the MFC
00032 //  database classes
00033 #include <afxdb.h>                      // MFC database classes
00034 
00035 #include <atlbase.h>
00036 
00037 #define _ATL_APARTMENT_THREADED
00038 //You may derive a class from CComModule and use it if you want to override
00039 //something, but do not change the name of _Module
00040 extern CComModule _Module;
00041 
00042 // Imports
00043 #import "CoreLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00044 #import "MetaLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00045 #import "MgaLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00046 #import "MgaUtilLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00047 #import "ParserLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00048 #import "GMELib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00049 
00050 #include "CommonImport.h"
00051 
00052 #define cpp_quote(x) 
00053 #include "Interfaceversion.h"
00054 #undef cpp_quote
00055 typedef GMEInterfaceVersion_enum GMEInterfaceVersion;
00056 
00057 // Don't load the MIDL-generated headers
00058 #define __Core_h__
00059 #define __Meta_h__
00060 #define __Mga_h__
00061 #define __MgaUtil_h__
00062 #define __MgaUtilLib_h__
00063 #define __Parser_h__
00064 #define __Gme_h__
00065 #define __GmeLib_h__
00066 #define IID_IMgaDataSource __uuidof(IMgaDataSource)
00067 // End Imports
00068 
00069 #include <atlcom.h>
00070 #include "CommonError.h"
00071 #include "CommonMfc.h"
00072 #include "CommonMgaTrukk.h"
00073 
00074 // Comment this out if you do not want to see the messages in the debug window
00075 #define DEBUG_EVENTS
00076 
00077 
00078 #ifdef DEBUG_EVENTS
00079  #define EVENT_TRACE(x) TRACE(x)
00080 #else
00081  #define EVENT_TRACE(x)
00082 #endif 
00083 
00084 
00085 
00086 //{{AFX_INSERT_LOCATION}}
00087 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00088 
00089 #endif // !defined(AFX_STDAFX_H__16AA33FA_B59A_4910_9F60_CAA3FF9A3EF1__INCLUDED_)