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)