Files
envi-code/SourceCode/Code2026/ElecCmd/CablelineTools.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

32 lines
755 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);
};