From 546130b05b32b3f0b3daece129af0280e53658b6 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 18 Oct 2016 18:40:55 +0000 Subject: [PATCH] Include : - aggiornamenti. --- EGnStringUtils.h | 1 + EInAPI.h | 5 +++-- EXeExecutor.h | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/EGnStringUtils.h b/EGnStringUtils.h index 29ed1e4..4651d65 100644 --- a/EGnStringUtils.h +++ b/EGnStringUtils.h @@ -220,6 +220,7 @@ SplitLast( const std::string& sString, const std::string& sSeparator, std::strin //---------------------------------------------------------------------------- EGN_EXPORT bool Tokenize( const std::string& sString, const std::string& sSeparators, STRVECTOR& vsTokens) ; +EGN_EXPORT bool TokenizePlus( const std::string& sString, const std::string& sHeaders, STRVECTOR& vsTokens) ; EGN_EXPORT bool Tokenize( const std::string& sString, const std::string& sSeparators, const std::string& sAtomStarts, const std::string& sAtomEnds, STRVECTOR& vsTokens) ; diff --git a/EInAPI.h b/EInAPI.h index b8ba204..f373fc3 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -65,7 +65,7 @@ EIN_EXPORT double __stdcall EgtToUiUnits( double dVal) ; // Context (GeomDB) EIN_EXPORT int __stdcall EgtInitContext( void) ; -EIN_EXPORT int __stdcall EgtDeleteContext( int nGseCtx) ; +EIN_EXPORT BOOL __stdcall EgtDeleteContext( int nGseCtx) ; EIN_EXPORT BOOL __stdcall EgtSetCurrentContext( int nGseCtx) ; EIN_EXPORT BOOL __stdcall EgtResetCurrentContext( void) ; EIN_EXPORT int __stdcall EgtGetCurrentContext( void) ; @@ -359,6 +359,7 @@ EIN_EXPORT int __stdcall EgtGetPrevSelectedObj( void) ; EIN_EXPORT BOOL __stdcall EgtChangeGroupFrame( int nId, const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtChangeVectorBase( int nId, const double ptB[3], int nRefType) ; +EIN_EXPORT BOOL __stdcall EgtInvertVector( int nNumId, const int nIds[]) ; EIN_EXPORT BOOL __stdcall EgtModifyText( int nId, const wchar_t* wsNewText) ; EIN_EXPORT BOOL __stdcall EgtChangeTextFont( int nId, const wchar_t* wsNewFont) ; EIN_EXPORT BOOL __stdcall EgtFlipText( int nId) ; @@ -367,7 +368,7 @@ EIN_EXPORT int __stdcall EgtExplodeText( int nId, int* pnCount) ; EIN_EXPORT int __stdcall EgtSplitText( int nId, int* pnCount) ; // GeomDb Curve Modify -EIN_EXPORT BOOL __stdcall EgtInvertCurve( int nId) ; +EIN_EXPORT BOOL __stdcall EgtInvertCurve( int nNumId, const int nIds[]) ; EIN_EXPORT BOOL __stdcall EgtOffsetCurve( int nId, double dDist, int nType) ; EIN_EXPORT int __stdcall EgtOffsetCurveAdv( int nId, double dDist, int nType, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtApproxCurve( int nId, int nApprType, double dLinTol) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 3075475..07a467c 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -68,7 +68,7 @@ EXE_EXPORT double ExeToUiUnits( double dVal) ; // GeomDB EXE_EXPORT int ExeInitContext( void) ; -EXE_EXPORT int ExeDeleteContext( int nGseCtx) ; +EXE_EXPORT bool ExeDeleteContext( int nGseCtx) ; EXE_EXPORT bool ExeSetCurrentContext( int nGseCtx) ; EXE_EXPORT bool ExeResetCurrentContext( void) ; EXE_EXPORT int ExeGetCurrentContext( void) ; @@ -380,6 +380,7 @@ EXE_EXPORT int ExeGetPrevSelectedObj( void) ; // GeomDB Modify EXE_EXPORT bool ExeChangeGroupFrame( int nId, const Frame3d& frNewRef, int nRefType) ; EXE_EXPORT bool ExeChangeVectorBase( int nId, const Point3d& ptB, int nRefType) ; +EXE_EXPORT bool ExeInvertVector( const INTVECTOR& vIds) ; EXE_EXPORT bool ExeModifyText( int nId, const std::string& sNewText) ; EXE_EXPORT bool ExeChangeTextFont( int nId, const std::string& sNewFont) ; EXE_EXPORT bool ExeFlipText( int nId) ;