diff --git a/EInAPI.h b/EInAPI.h index 72045f8..4249ccd 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -572,7 +572,7 @@ EIN_EXPORT BOOL __stdcall EgtTdbCopyTool( const wchar_t* wsSource, const wchar_t EIN_EXPORT BOOL __stdcall EgtTdbRemoveTool( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtTdbGetFirstTool( int nFamily, wchar_t*& wsName, int* pnType) ; EIN_EXPORT BOOL __stdcall EgtTdbGetNextTool( int nFamily, wchar_t*& wsName, int* pnType) ; -EIN_EXPORT BOOL __stdcall EgtTdbGetToolFromUUID( wchar_t* wsTuuid, wchar_t*& wsName) ; +EIN_EXPORT BOOL __stdcall EgtTdbGetToolFromUUID( const wchar_t* wsTuuid, wchar_t*& wsName) ; EIN_EXPORT BOOL __stdcall EgtTdbSetCurrTool( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtTdbSaveCurrTool( void) ; EIN_EXPORT BOOL __stdcall EgtTdbIsCurrToolModified( void) ; @@ -594,6 +594,7 @@ EIN_EXPORT BOOL __stdcall EgtMdbCopyMachining( const wchar_t* wsSource, const wc EIN_EXPORT BOOL __stdcall EgtMdbRemoveMachining( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtMdbGetFirstMachining( int nType, wchar_t*& wsName) ; EIN_EXPORT BOOL __stdcall EgtMdbGetNextMachining( int nType, wchar_t*& wsName) ; +EIN_EXPORT BOOL __stdcall EgtMdbGetMachiningFromUUID( const wchar_t* wsMuuid, wchar_t*& wsName) ; EIN_EXPORT BOOL __stdcall EgtMdbSetCurrMachining( const wchar_t* wsName) ; EIN_EXPORT BOOL __stdcall EgtMdbSaveCurrMachining( void) ; EIN_EXPORT BOOL __stdcall EgtMdbIsCurrMachiningModified( void) ; diff --git a/EMkMachMgr.h b/EMkMachMgr.h index bc86498..a887f83 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -120,6 +120,7 @@ class __declspec( novtable) IMachMgr virtual bool MdbRemoveMachining( const std::string& sName) = 0 ; virtual bool MdbGetFirstMachining( int nType, std::string& sName) const = 0 ; virtual bool MdbGetNextMachining( int nType, std::string& sName) const = 0 ; + virtual bool MdbGetMachiningFromUUID( const std::string& sMuuid, std::string& sName) const = 0 ; virtual bool MdbSetCurrMachining( const std::string& sName) = 0 ; virtual bool MdbSaveCurrMachining( void) = 0 ; virtual bool MdbIsCurrMachiningModified( void) const = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 87f66f2..ab01ab0 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -634,6 +634,7 @@ EXE_EXPORT bool ExeMdbCopyMachining( const std::string& sSource, const std::stri EXE_EXPORT bool ExeMdbRemoveMachining( const std::string& sName) ; EXE_EXPORT bool ExeMdbGetFirstMachining( int nType, std::string& sName) ; EXE_EXPORT bool ExeMdbGetNextMachining( int nType, std::string& sName) ; +EXE_EXPORT bool ExeMdbGetMachiningFromUUID( const std::string& sMuuid, std::string& sName) ; EXE_EXPORT bool ExeMdbSetCurrMachining( const std::string& sName) ; EXE_EXPORT bool ExeMdbSaveCurrMachining( void) ; EXE_EXPORT bool ExeMdbIsCurrMachiningModified( void) ;