diff --git a/EGkGeomDB.h b/EGkGeomDB.h index 9d76cdc..1f54151 100644 --- a/EGkGeomDB.h +++ b/EGkGeomDB.h @@ -40,7 +40,7 @@ class __declspec( novtable) IGeomDB virtual bool Init( void) = 0 ; virtual bool Clear( void) = 0 ; virtual bool Load( const std::string& sFileIn, int nGroupId = GDB_ID_ROOT) = 0 ; - virtual bool Save( const std::string& sFileOut, int nFlag = GDB_SV_BIN) const = 0 ; + virtual bool Save( int nId, 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/EInAPI.h b/EInAPI.h index 7242187..04adb7c 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -68,6 +68,7 @@ EIN_EXPORT BOOL __stdcall EgtNewFile( void) ; 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) ; // Exchange EIN_EXPORT int __stdcall EgtGetFileType( const wchar_t* wsFilePath) ;