diff --git a/EGkGeomDB.h b/EGkGeomDB.h index 6d7a335..162e7be 100644 --- a/EGkGeomDB.h +++ b/EGkGeomDB.h @@ -43,6 +43,7 @@ class __declspec( novtable) IGeomDB virtual bool Clear( void) = 0 ; virtual bool Load( const std::string& sFileIn, int nGroupId = GDB_ID_ROOT) = 0 ; virtual bool Save( int nId, const std::string& sFileOut, int nFlag = GDB_SV_BIN) const = 0 ; + virtual bool Save( const INTVECTOR& vId, const std::string& sFileOut, int nFlag = GDB_SV_BIN) const = 0 ; virtual bool ExistsObj( int nId) const = 0 ; virtual int AddGroup( int nId, int nParentId, const Frame3d& frFrame) = 0 ; virtual int InsertGroup( int nId, int nRefId, int nSonBeforeAfter, const Frame3d& frFrame) = 0 ; diff --git a/EGnFileUtils.h b/EGnFileUtils.h index 244bec3..cc6c9ee 100644 --- a/EGnFileUtils.h +++ b/EGnFileUtils.h @@ -1,7 +1,7 @@ //---------------------------------------------------------------------------- // EgalTech 2013-2020 //---------------------------------------------------------------------------- -// File : EgnFileUtils.h Data : 14.02.20 Versione : 2.2b1 +// File : EgnFileUtils.h Data : 30.11.20 Versione : 2.2k // Contenuto : Prototipi funzioni di utilità su file e direttori. // // @@ -30,6 +30,7 @@ EGN_EXPORT bool CopyFileEgt( const std::string& sFile, const std::string& sNewFi EGN_EXPORT bool RenameFile( const std::string& sFile, const std::string& sNewFile) ; EGN_EXPORT bool EraseFile( const std::string& sFile) ; EGN_EXPORT bool CompareFilesLastWriteTime( const std::string& sFile1, const std::string& sFile2, int& nRes) ; +EGN_EXPORT std::string GetFileExtension( const std::string& sFile) ; EGN_EXPORT std::string ChangeFileExtension( const std::string& sFile, const std::string& sNewExt) ; EGN_EXPORT bool FileExtensionMatches( const std::string& sFile, const std::string& sExt) ; EGN_EXPORT bool FindFirstFileEgt( const std::string& sFileSpec, std::string& sFileName) ; diff --git a/EInAPI.h b/EInAPI.h index f8ab952..64539e5 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -96,6 +96,7 @@ EIN_EXPORT BOOL __stdcall EgtOpenFile( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtInsertFile( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtSaveFile( const wchar_t* wsFilePath, int nFlag) ; EIN_EXPORT BOOL __stdcall EgtSaveObjToFile( int nId, const wchar_t* wsFilePath, int nFlag) ; +EIN_EXPORT BOOL __stdcall EgtSaveMachGroupToFile( int nMGroupId, const wchar_t* wsFilePath, int nFlag) ; // Exchange EIN_EXPORT int __stdcall EgtGetFileType( const wchar_t* wsFilePath) ; diff --git a/EMkMachMgr.h b/EMkMachMgr.h index b8a73ae..d81d825 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -46,6 +46,7 @@ class __declspec( novtable) IMachMgr virtual bool GetCurrMachineName( std::string& sMachineName) const = 0 ; virtual bool GetCurrMachineDir( std::string& sMachineDir) const = 0 ; // MachGroups + virtual bool IsMachBase( int nId) const = 0 ; virtual int GetMachGroupCount( void) const = 0 ; virtual int GetFirstMachGroup( void) const = 0 ; virtual int GetNextMachGroup( int nId) const = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index f001604..d64f689 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -102,6 +102,7 @@ EXE_EXPORT bool ExeOpenFile( const std::string& sFilePath) ; EXE_EXPORT bool ExeInsertFile( const std::string& sFilePath) ; EXE_EXPORT bool ExeSaveFile( const std::string& sFilePath, int nFlag) ; EXE_EXPORT bool ExeSaveObjToFile( int nId, const std::string& sFilePath, int nFlag) ; +EXE_EXPORT bool ExeSaveMachGroupToFile( int nMGroupId, const std::string& sFilePath, int nFlag) ; // Exchange EXE_EXPORT int ExeGetFileType( const std::string& sFilePath) ;