diff --git a/EMkMachMgr.h b/EMkMachMgr.h index d2daf51..bb0963e 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -176,10 +176,11 @@ class __declspec( novtable) IMachMgr virtual int GetCurrSetup( void) const = 0 ; virtual bool GetDefaultSetupName( std::string& sName) const = 0 ; virtual bool ImportSetup( const std::string& sName) = 0 ; + virtual bool ExistsCurrSetup( void) const = 0 ; virtual bool VerifyCurrSetup( STRVECTOR& vsErrors) = 0 ; - virtual bool FindToolInCurrSetup( const std::string& sTool) = 0 ; - virtual bool GetToolSetupPosInCurrSetup( const std::string& sTool, std::string& sTcPos) = 0 ; - virtual bool GetToolsInCurrSetupPos( const std::string& sTcPos, STRVECTOR& vsTools) = 0 ; + virtual bool FindToolInCurrSetup( const std::string& sTool) const = 0 ; + virtual bool GetToolSetupPosInCurrSetup( const std::string& sTool, std::string& sTcPos) const = 0 ; + virtual bool GetToolsInCurrSetupPos( const std::string& sTcPos, STRVECTOR& vsTools) const = 0 ; virtual bool UpdateCurrSetup( void) = 0 ; virtual bool EraseCurrSetup( void) = 0 ; // Machinings DataBase diff --git a/EXeExecutor.h b/EXeExecutor.h index d390b2d..9a98ced 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -1177,6 +1177,7 @@ EXE_EXPORT bool ExeTdbImport( const std::string& sFile, const STRVECTOR& vsTools EXE_EXPORT int ExeGetCurrSetup( void) ; EXE_EXPORT bool ExeGetDefaultSetupName( std::string& sName) ; EXE_EXPORT bool ExeImportSetup( const std::string& sName) ; +EXE_EXPORT bool ExeExistsCurrSetup( void) ; EXE_EXPORT bool ExeVerifyCurrSetup( STRVECTOR& vsErrors) ; EXE_EXPORT bool ExeFindToolInCurrSetup( const std::string& sTool) ; EXE_EXPORT bool ExeGetToolSetupPosInCurrSetup( const std::string& sTool, std::string& sTcPos) ;