Audacity 3.2.0
|
Base class for extra information attached to undo/redo states. More...
#include <UndoManager.h>
Public Member Functions | |
virtual | ~UndoStateExtension () |
virtual void | RestoreUndoRedoState (AudacityProject &project)=0 |
Modify the project when undoing or redoing to some state in history. More... | |
virtual bool | CanUndoOrRedo (const AudacityProject &project) |
Whether undo or redo is now permitted; default returns true. More... | |
Base class for extra information attached to undo/redo states.
Definition at line 83 of file UndoManager.h.
|
virtualdefault |
|
virtual |
Whether undo or redo is now permitted; default returns true.
Reimplemented in anonymous_namespace{UndoTracks.cpp}::TrackListRestorer.
Definition at line 36 of file UndoManager.cpp.
|
pure virtual |
Modify the project when undoing or redoing to some state in history.
Implemented in Tags, RealtimeEffectList, anonymous_namespace{ViewInfo.cpp}::SelectedRegionRestorer, anonymous_namespace{UndoTracks.cpp}::TrackListRestorer, and anonymous_namespace{TimeSignatureToolBar.cpp}::TimeSignatureRestorer.