EgtInterface 1.9k2 :
- aggiunta interfaccia per funzione EgtTdbGetCurrToolMaxDepth - for each (.. in ..) sostituito da for ( .. : ..) vero costrutto C++.
This commit is contained in:
+11
-2
@@ -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() ;
|
||||
|
||||
Reference in New Issue
Block a user