From 521c2229afe0c6ea18c86f93cefb7bf79b3808da Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Fri, 17 May 2019 18:19:16 +0000 Subject: [PATCH] EgtInterface : - a EgtInitMachMgr aggiunto parametro wsToolMakersDir - aggiunta funzione EgtTdbCurrToolDraw. --- API_MachMgr.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index 4c95a79..9337bdd 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -23,9 +23,9 @@ using namespace std ; //----------------------------------------------------------------------------- BOOL -__stdcall EgtInitMachMgr( const wchar_t* wsMachinesDir) +__stdcall EgtInitMachMgr( const wchar_t* wsMachinesDir, const wchar_t* wsToolMakersDir) { - return ( ExeInitMachMgr( wstrztoA( wsMachinesDir)) ? TRUE : FALSE) ; + return ( ExeInitMachMgr( wstrztoA( wsMachinesDir), wstrztoA( wsToolMakersDir)) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- @@ -753,6 +753,13 @@ __stdcall EgtTdbGetCurrToolMaxDepth( double* pdVal) return ( ExeTdbGetCurrToolMaxDepth( *pdVal) ? TRUE : FALSE) ; } +//----------------------------------------------------------------------------- +int +__stdcall EgtTdbCurrToolDraw( int nGenCtx, int nToolCtx) +{ + return ExeTdbCurrToolDraw( nGenCtx, nToolCtx) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtTdbReload( void)