diff --git a/API_Exchange.cpp b/API_Exchange.cpp index 0990630..b4a64d5 100644 --- a/API_Exchange.cpp +++ b/API_Exchange.cpp @@ -29,16 +29,9 @@ __stdcall EgtGetFileType( const wchar_t* wsFilePath) //----------------------------------------------------------------------------- BOOL -__stdcall EgtImportDxf( const wchar_t* wsFilePath, double dScaleFactor) +__stdcall EgtImportBtl( const wchar_t* wsFilePath, int nFlag) { - return ( ExeImportDxf( wstrztoA( wsFilePath), dScaleFactor) ? TRUE : FALSE) ; -} - -//----------------------------------------------------------------------------- -BOOL -__stdcall EgtImportStl( const wchar_t* wsFilePath, double dScaleFactor) -{ - return ( ExeImportStl( wstrztoA( wsFilePath), dScaleFactor) ? TRUE : FALSE) ; + return ( ExeImportBtl( wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- @@ -57,9 +50,23 @@ __stdcall EgtImportCsf( const wchar_t* wsFilePath) //----------------------------------------------------------------------------- BOOL -__stdcall EgtImportBtl( const wchar_t* wsFilePath, int nFlag) +__stdcall EgtImportDxf( const wchar_t* wsFilePath, double dScaleFactor) { - return ( ExeImportBtl( wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ; + return ( ExeImportDxf( wstrztoA( wsFilePath), dScaleFactor) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtImportPnt( const wchar_t* wsFilePath, int nFlag) +{ + return ( ExeImportPnt( wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtImportStl( const wchar_t* wsFilePath, double dScaleFactor) +{ + return ( ExeImportStl( wstrztoA( wsFilePath), dScaleFactor) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- diff --git a/EgtInterface.rc b/EgtInterface.rc index 37a8ac3..b1d1ce1 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ