From 739c6bb5c3549eb1fcfcd4160a3c0c5ddde0dc75 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 5 Jul 2018 10:31:51 +0000 Subject: [PATCH] EgtInterface 1.9g1 : - aggiunta interfaccia EgtImportPnt. --- API_Exchange.cpp | 29 ++++++++++++++++++----------- EgtInterface.rc | Bin 11718 -> 11718 bytes 2 files changed, 18 insertions(+), 11 deletions(-) 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 37a8ac3f39d9ffade9a4fbf15401361663aa6e4a..b1d1ce13bcec41827fa6afd2be6cb53452d473b9 100644 GIT binary patch delta 135 zcmX>WeJpyzH#Syt1|0^&%^&$rGEF|hS;L&pU^w}qpzh`Zt{N7&oFg+#d~yMo#bg5> joym8&o@`zvtiudf1Ju7n5}`jp3aWeJpyzH#Sx?1|0^I%^&$rGEF|hS;L&hU^4lkpzh`Zt{N7&oFg+#d~yMo#bg5> joym8&o@`zvtiudf1Ju7n5}`jp3a8UH;