EgtInterface 1.6l9 :
- aggiornamento prototipi.
This commit is contained in:
@@ -663,6 +663,27 @@ __stdcall EgtMdbGetMachiningDir( wchar_t*& wsMchDir)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Operations
|
||||
//-----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtGetFirstOperation( void)
|
||||
{
|
||||
return ExeGetFirstOperation() ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtGetNextOperation( int nId)
|
||||
{
|
||||
return ExeGetNextOperation( nId) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtGetOperationType( int nId)
|
||||
{
|
||||
return ExeGetOperationType( nId) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtRemoveOperation( int nId)
|
||||
@@ -684,6 +705,16 @@ __stdcall EgtSetOperationMode( int nId, BOOL bActive)
|
||||
return ( ExeSetOperationMode( nId, bActive!= FALSE) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetOperationMode( int nId)
|
||||
{
|
||||
bool bActive ;
|
||||
if ( ! ExeGetOperationMode( nId, bActive))
|
||||
return FALSE ;
|
||||
return ( bActive ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSetAllOperationsMode( BOOL bActive)
|
||||
@@ -698,6 +729,16 @@ __stdcall EgtSetOperationStatus( int nId, BOOL bShow)
|
||||
return ( ExeSetOperationStatus( nId, bShow != FALSE) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetOperationStatus( int nId)
|
||||
{
|
||||
bool bShow ;
|
||||
if ( ! ExeGetOperationStatus( nId, bShow))
|
||||
return FALSE ;
|
||||
return ( bShow ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSetAllOperationsStatus( BOOL bShow)
|
||||
@@ -826,6 +867,29 @@ __stdcall EgtGetCalcToolDirFromAngles( double dAngA, double dAngB, double vtDir[
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtVerifyOutstroke( double dX, double dY, double dZ, double dAngA, double dAngB, int* pnStat)
|
||||
{
|
||||
int nStat ;
|
||||
if ( ! ExeVerifyOutstroke( dX, dY, dZ, dAngA, dAngB, nStat))
|
||||
return FALSE ;
|
||||
if ( pnStat != nullptr)
|
||||
*pnStat = nStat ;
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetOutstrokeInfo( wchar_t*& wsInfo)
|
||||
{
|
||||
string sInfo ;
|
||||
if ( ! ExeGetOutstrokeInfo( sInfo))
|
||||
return false ;
|
||||
wsInfo = _wcsdup( stringtoW( sInfo)) ;
|
||||
return (( wsInfo == nullptr) ? FALSE : TRUE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Machine Move
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user