//! Starts a new operation (opens a tansaction)
HYDRODATA_EXPORT void StartOperation();
//! Finishes the previously started operation (closes the transaction)
- HYDRODATA_EXPORT void CommitOperation();
+ HYDRODATA_EXPORT void CommitOperation(
+ const TCollection_ExtendedString& theName = TCollection_ExtendedString());
//! Aborts the operation
HYDRODATA_EXPORT void AbortOperation();
//! Returns true if operation has been started, but not yet finished or aborted
//! Returns True if there are available Undos
HYDRODATA_EXPORT bool CanUndo();
+ //! Returns a list of stored undo actions
+ HYDRODATA_EXPORT const TDF_DeltaList& GetUndos();
+ //! Clears a list of stored undo actions
+ HYDRODATA_EXPORT void ClearUndos();
//! Undoes last operation
HYDRODATA_EXPORT void Undo();
+
//! Returns True if there are available Redos
HYDRODATA_EXPORT bool CanRedo();
+ //! Returns a list of stored undo actions
+ HYDRODATA_EXPORT const TDF_DeltaList& GetRedos();
+ //! Clears a list of stored undo actions
+ HYDRODATA_EXPORT void ClearRedos();
//! Redoes last operation
HYDRODATA_EXPORT void Redo();