EgtInterface 1.9k2 :

- aggiunta interfaccia per funzione EgtTdbGetCurrToolMaxDepth
- for each (.. in ..) sostituito da for ( .. : ..) vero costrutto C++.
This commit is contained in:
Dario Sassi
2018-11-28 17:09:15 +00:00
parent 72ab2414fb
commit 44f5105d0c
2 changed files with 11 additions and 2 deletions
+11 -2
View File
@@ -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() ;