113 lines
2.7 KiB
C
113 lines
2.7 KiB
C
// stdafx.h : include file for standard system include files,
|
|
// or project specific include files that are used frequently, but
|
|
// are changed infrequently
|
|
//
|
|
|
|
#if !defined(AFX_STDAFX_H__C17A9F67_3598_11D3_8274_0000E82EB017__INCLUDED_)
|
|
#define AFX_STDAFX_H__C17A9F67_3598_11D3_8274_0000E82EB017__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
|
|
|
#include <afxwin.h> // MFC core and standard components
|
|
#include <afxext.h> // MFC extensions
|
|
#include <afxtempl.h> // MFC template
|
|
#include "math.h"
|
|
|
|
#ifndef _AFX_NO_OLE_SUPPORT
|
|
#include <afxole.h> // MFC OLE classes
|
|
#include <afxodlgs.h> // MFC OLE dialog classes
|
|
#include <afxdisp.h> // MFC Automation classes
|
|
#endif // _AFX_NO_OLE_SUPPORT
|
|
|
|
|
|
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
|
#include <afxcmn.h> // MFC support for Windows Common Controls
|
|
#endif // _AFX_NO_AFXCMN_SUPPORT
|
|
|
|
#include "class_conversion.h"
|
|
#include "pp3d.h"
|
|
|
|
#define TARCH_EXP
|
|
#define TARCH_IMPEXP __declspec( dllimport )
|
|
#define GEOAPI __declspec( dllimport )
|
|
#define TUTIL_IMPEXP __declspec( dllimport )
|
|
#define TINIT_IMPEXP __declspec( dllimport )
|
|
#define TGADOSRV_API __declspec( dllimport )
|
|
#define COMMON_EXP
|
|
|
|
// 2010-3-15 16:41 wubo
|
|
// 移植Geo
|
|
#pragma warning(disable: 4068)
|
|
|
|
#if (ADS>14)
|
|
#include "dbapserv.h"
|
|
#include "migrtion.h"
|
|
#endif
|
|
|
|
// AutoCAD ARX Files
|
|
#include "dbmain.h"
|
|
#include "dbents.h"
|
|
#include "aced.h"
|
|
#include "acgi.h"
|
|
#include "dbsymtb.h"
|
|
#include "rxdefs.h"
|
|
#include "geassign.h"
|
|
#include "dbidmap.h"
|
|
#include "dbhatch.h"
|
|
#include "DbRegion.h"
|
|
#include "DbSol3d.h"
|
|
#include "rxmfcapi.h"
|
|
#include "AcExtensionModule.h"
|
|
|
|
// [2010-3-16 14:38 wubo] 移植到新Geo库
|
|
// tchprivateglobalfunc.h需要此头文件
|
|
#include <math.h>
|
|
|
|
#include "tch_kernal.h"
|
|
#include "tch_utility.h"
|
|
|
|
// sg add 100827,存放整个工程内,都会用到的全局函数
|
|
#include "TchKernCmdGlobalFunc.h"
|
|
|
|
#ifndef NDEBUG
|
|
|
|
// 使得Debug版本,能够正确实现ASSERT和VERIFY(在没有_DEBUG宏的情况下)
|
|
#ifdef ASSERT
|
|
#undef ASSERT
|
|
#endif
|
|
#define ASSERT(n) assert(n)
|
|
|
|
#ifdef VERIFY
|
|
#undef VERIFY
|
|
#endif
|
|
#define VERIFY(n) assert(n)
|
|
#endif
|
|
|
|
|
|
// ywb 090914
|
|
// for 产品版本判断是否日照
|
|
extern TARCH_IMPEXP int g_nProductId;
|
|
#define g_bIsSunProduct g_nProductId == kTSUN
|
|
|
|
// wubo 2010年3月15日
|
|
// 移植Geo
|
|
Adesk::Boolean acedPostCommand( const TCHAR * );
|
|
|
|
#include "acui.h"
|
|
#include "adui.h"
|
|
#include "acuicombobox.h"
|
|
#include "GlwCAcUiDialog.h"
|
|
#define CAcUiDialog GlwCAcUiDialog
|
|
|
|
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_STDAFX_H__C17A9F67_3598_11D3_8274_0000E82EB017__INCLUDED_)
|