Definition: editor_history.h:11
~CEditorHistory()
Definition: editor_history.h:19
void BeginBulk()
Definition: editor_history.cpp:73
std::vector< std::shared_ptr< IEditorAction > > m_vpBulkActions
Definition: editor_history.h:44
void Clear()
Definition: editor_history.cpp:67
void Execute(const std::shared_ptr< IEditorAction > &pAction, const char *pDisplay=nullptr)
Definition: editor_history.cpp:12
std::deque< std::shared_ptr< IEditorAction > > m_vpUndoActions
Definition: editor_history.h:40
bool Undo()
Definition: editor_history.cpp:39
CEditor * m_pEditor
Definition: editor_history.h:39
std::deque< std::shared_ptr< IEditorAction > > m_vpRedoActions
Definition: editor_history.h:41
CEditorHistory()
Definition: editor_history.h:13
bool CanRedo() const
Definition: editor_history.h:33
void EndBulk(const char *pDisplay=nullptr)
Definition: editor_history.cpp:79
bool m_IsBulk
Definition: editor_history.h:45
bool Redo()
Definition: editor_history.cpp:53
void RecordAction(const std::shared_ptr< IEditorAction > &pAction)
Definition: editor_history.cpp:7
bool CanUndo() const
Definition: editor_history.h:32