diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index df653e0..38c5ceb 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -141,17 +141,6 @@ __stdcall EgtGetCurrMachGroup( void) return ExeGetCurrMachGroup() ; } -//----------------------------------------------------------------------------- -// Setup -//----------------------------------------------------------------------------- - -//----------------------------------------------------------------------------- -int -__stdcall EgtGetCurrSetup( void) -{ - return ExeGetCurrSetup() ; -} - //----------------------------------------------------------------------------- // Phases //----------------------------------------------------------------------------- @@ -689,6 +678,22 @@ __stdcall EgtTdbGetToolHolderDir( wchar_t*& wsTHolderDir) return (( wsTHolderDir == nullptr) ? FALSE : TRUE) ; } +//----------------------------------------------------------------------------- +// Setup +//----------------------------------------------------------------------------- +int +__stdcall EgtGetCurrSetup( void) +{ + return ExeGetCurrSetup() ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtImportSetup( const wchar_t* wsName) +{ + return (ExeImportSetup( wstrztoA( wsName)) ? TRUE : FALSE ) ; +} + //----------------------------------------------------------------------------- // Machinings DataBase //----------------------------------------------------------------------------- diff --git a/EgtInterface.rc b/EgtInterface.rc index 58da4c7..67a6375 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ