32 lines
732 B
C++
32 lines
732 B
C++
#pragma once
|
|
|
|
class CUIISQLiteServer;
|
|
class AecDbObjXDataMap;
|
|
|
|
#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
|
|
|
|
class CablelineTools
|
|
{
|
|
public:
|
|
static LPCTSTR gLayer_Pipe_Dim;
|
|
static LPCTSTR gTextStyle_Pipe_Dim;
|
|
public:
|
|
|
|
static bool getSqliteDB(LPCTSTR dbName, CUIISQLiteServer & db);
|
|
static CString getCurrentLayerSys();
|
|
static AcDbObjectId AecInitLayerEx(LPCTSTR pszLayer,int nColorIndex,LPCTSTR pszLineType,AcDbDatabase* pDb);
|
|
static AcDbObjectId AecInitLayerEx(LPCTSTR pszLayer,LPCTSTR pszSys,int nColorIndex,LPCTSTR pszLineType,AcDbDatabase* pDb);
|
|
};
|
|
|