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

38 lines
871 B
C++

#include "StdAfx.h"
extern double DocGetPScale();
extern BOOL DocSetPScale(double nScale);
extern void DocSetMeterUnitDraw(BOOL bTrue);
extern BOOL DocGetMeterUnitDraw();
extern BOOL DocGetMeterUnitDim();
extern void DocSetMeterUnitDim(BOOL bTrue);
extern "C" __declspec(dllexport) double SHS_DocGetPScale()
{
return DocGetPScale();
}
extern "C" __declspec(dllexport) BOOL SHS_DocSetPScale(double nScale)
{
return DocSetPScale(nScale);
}
extern "C" __declspec(dllexport) BOOL SHS_DocGetMeterUnitDraw()
{
return DocGetMeterUnitDraw();
}
extern "C" __declspec(dllexport) void SHS_DocSetMeterUnitDraw(BOOL bTrue)
{
return DocSetMeterUnitDraw(bTrue);
}
extern "C" __declspec(dllexport) BOOL SHS_DocGetMeterUnitDim()
{
return DocGetMeterUnitDim();
}
extern "C" __declspec(dllexport) void SHS_DocSetMeterUnitDim(BOOL bTrue)
{
return DocSetMeterUnitDim(bTrue);
}