diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index d9a659c..4c95a79 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -744,6 +744,15 @@ __stdcall EgtTdbGetCurrToolParamString( int nType, wchar_t*& wsVal) return (( wsVal == nullptr) ? FALSE : TRUE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtTdbGetCurrToolMaxDepth( double* pdVal) +{ + if ( pdVal == nullptr) + return FALSE ; + return ( ExeTdbGetCurrToolMaxDepth( *pdVal) ? TRUE : FALSE) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtTdbReload( void) @@ -1682,7 +1691,7 @@ __stdcall EgtGetAllHeadsNames( wchar_t*& wsNames) if ( ! ExeGetAllHeadsNames( vNames)) return false ; string sNames ; - for each ( const auto& sName in vNames) + for ( const auto& sName : vNames) sNames += sName + "," ; if ( ! sNames.empty()) sNames.pop_back() ; @@ -1700,7 +1709,7 @@ __stdcall EgtGetAllTablesNames( wchar_t*& wsNames) if ( ! ExeGetAllTablesNames( vNames)) return false ; string sNames ; - for each ( const auto& sName in vNames) + for ( const auto& sName : vNames) sNames += sName + "," ; if ( ! sNames.empty()) sNames.pop_back() ; diff --git a/EgtInterface.rc b/EgtInterface.rc index e2e5f9c..519e685 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ