From 58b12dfa36f6058ccd7a4097bcddbf418c8ca887 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Fri, 5 Oct 2018 08:54:51 +0000 Subject: [PATCH] Include : - aggiornamento prototipi. --- EInAPI.h | 1 + EMkMachMgr.h | 3 ++- EXeExecutor.h | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/EInAPI.h b/EInAPI.h index 2e0529f..d039303 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -710,6 +710,7 @@ EIN_EXPORT BOOL __stdcall EgtSpecialUpdateDisposition( int nId) ; // Machinings EIN_EXPORT int __stdcall EgtAddMachining( const wchar_t* wsName, const wchar_t* wsMachining) ; EIN_EXPORT int __stdcall EgtCreateMachining( const wchar_t* wsName, int nMchType, const wchar_t* wsTool) ; +EIN_EXPORT int __stdcall EgtCopyMachining( const wchar_t* wsName, const wchar_t* wsSouName) ; EIN_EXPORT BOOL __stdcall EgtSetCurrMachining( int nId) ; EIN_EXPORT BOOL __stdcall EgtResetCurrMachining( void) ; EIN_EXPORT int __stdcall EgtGetCurrMachining( void) ; diff --git a/EMkMachMgr.h b/EMkMachMgr.h index 212f039..2285804 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -200,6 +200,7 @@ class __declspec( novtable) IMachMgr // Operations : machinings virtual int AddMachining( const std::string& sName, const std::string& sMachining) = 0 ; virtual int AddMachining( const std::string& sName, int nMchType, const std::string& sTool) = 0 ; + virtual int CopyMachining( const std::string& sName, const std::string& sSouName) = 0 ; virtual bool SetCurrMachining( int nId) = 0 ; virtual bool ResetCurrMachining( void) = 0 ; virtual int GetCurrMachining( void) const = 0 ; @@ -217,7 +218,7 @@ class __declspec( novtable) IMachMgr virtual bool RemovePreviewMachiningTool( void) const = 0 ; virtual int PreviewMachiningTool( int nEntId, int nFlag) const = 0 ; virtual bool GetMachiningParam( int nType, bool& bVal) const = 0 ; - virtual bool GetMachiningParam( int nType, int& dVal) const = 0 ; + virtual bool GetMachiningParam( int nType, int& nVal) const = 0 ; virtual bool GetMachiningParam( int nType, double& dVal) const = 0 ; virtual bool GetMachiningParam( int nType, std::string& sVal) const = 0 ; virtual bool GetMachiningGeometry( SELVECTOR& vIds) const = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 6182078..020aab1 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -803,6 +803,7 @@ EXE_EXPORT bool ExeSpecialUpdateDisposition( int nId) ; // Machinings EXE_EXPORT int ExeAddMachining( const std::string& sName, const std::string& sMachining) ; EXE_EXPORT int ExeAddMachining( const std::string& sName, int nMchType, const std::string& sTool) ; +EXE_EXPORT int ExeCopyMachining( const std::string& sName, const std::string& sSouName) ; EXE_EXPORT bool ExeSetCurrMachining( int nId) ; EXE_EXPORT bool ExeResetCurrMachining( void) ; EXE_EXPORT int ExeGetCurrMachining( void) ;