EgtInterface :

- a EgtInitMachMgr aggiunto parametro wsToolMakersDir
- aggiunta funzione EgtTdbCurrToolDraw.
This commit is contained in:
Dario Sassi
2019-05-17 18:19:16 +00:00
parent dba784f2a2
commit 521c2229af
+9 -2
View File
@@ -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)