Files
envi-code/SourceCode/Code2026/tg_shs/shs_kernal/exportFunctions.cpp
T
2026-09-28 15:28:50 +08:00

38 lines
868 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);
}