diff --git a/EInAPI.h b/EInAPI.h index 6699bfb..8cf85f4 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -506,6 +506,8 @@ EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolParamInt( int nType, int* pnVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolParamDouble( int nType, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolParamString( int nType, wchar_t*& wsVal) ; EIN_EXPORT BOOL __stdcall EgtTdbSave( void) ; +EIN_EXPORT BOOL __stdcall EgtTdbGetToolDir( wchar_t*& wsToolDir) ; +EIN_EXPORT BOOL __stdcall EgtTdbGetToolHolderDir( wchar_t*& wsTHolderDir) ; // Simulation EIN_EXPORT BOOL __stdcall EgtSimStart( void) ; EIN_EXPORT BOOL __stdcall EgtSimMove( void) ; diff --git a/EMkMachMgr.h b/EMkMachMgr.h index 13726eb..2cb16d6 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -92,6 +92,8 @@ class __declspec( novtable) IMachMgr virtual bool TdbGetCurrToolParam( int nType, double& dVal) const = 0 ; virtual bool TdbGetCurrToolParam( int nType, std::string& sVal) const = 0 ; virtual bool TdbSave( void) const = 0 ; + virtual bool TdbGetToolDir( std::string& sToolDir) const = 0 ; + virtual bool TdbGetToolHolderDir( std::string& sTHolderDir) const = 0 ; // Machinings DataBase // ... // Operations : general diff --git a/EXeExecutor.h b/EXeExecutor.h index 28fb45e..5a5816b 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -521,6 +521,8 @@ EXE_EXPORT bool ExeTdbGetCurrToolParam( int nType, int& nVal) ; EXE_EXPORT bool ExeTdbGetCurrToolParam( int nType, double& dVal) ; EXE_EXPORT bool ExeTdbGetCurrToolParam( int nType, std::string& sVal) ; EXE_EXPORT bool ExeTdbSave( void) ; +EXE_EXPORT bool ExeTdbGetToolDir( std::string& sToolDir) ; +EXE_EXPORT bool ExeTdbGetToolHolderDir( std::string& sTHolderDir) ; // Machinings Database // ... // Operations