13 #ifndef mitkUndoModel_h
14 #define mitkUndoModel_h
18 #include <itkObject.h>
19 #include <itkObjectFactory.h>
41 virtual bool Undo() = 0;
42 virtual bool Undo(
bool fine) = 0;
44 virtual bool Redo() = 0;
45 virtual bool Redo(
bool fine) = 0;
49 virtual void Clear() = 0;
53 virtual void ClearRedoList() = 0;
57 virtual bool RedoListEmpty() = 0;
64 virtual std::size_t GetUndoLimit()
const = 0;
72 virtual void SetUndoLimit(std::size_t limit) = 0;
78 virtual int GetLastObjectEventIdInList() = 0;
84 virtual int GetLastGroupEventIdInList() = 0;