Audacity 3.2.0
|
Public Member Functions | |
TrackListRestorer (AudacityProject &project) | |
void | RestoreUndoRedoState (AudacityProject &project) override |
Modify the project when undoing or redoing to some state in history. More... | |
bool | CanUndoOrRedo (const AudacityProject &project) override |
Whether undo or redo is now permitted; default returns true. More... | |
Public Member Functions inherited from UndoStateExtension | |
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... | |
Public Attributes | |
const std::shared_ptr< TrackList > | mpTracks |
Definition at line 17 of file UndoTracks.cpp.
|
inline |
Definition at line 18 of file UndoTracks.cpp.
References TrackList::Add(), TrackList::Get(), and project.
|
inlineoverridevirtual |
Whether undo or redo is now permitted; default returns true.
Reimplemented from UndoStateExtension.
Definition at line 34 of file UndoTracks.cpp.
References PendingTracks::Get(), PendingTracks::HasPendingTracks(), and project.
|
inlineoverridevirtual |
Modify the project when undoing or redoing to some state in history.
Implements UndoStateExtension.
Definition at line 28 of file UndoTracks.cpp.
References TrackList::Get(), and project.
const std::shared_ptr<TrackList> anonymous_namespace{UndoTracks.cpp}::TrackListRestorer::mpTracks |
Definition at line 37 of file UndoTracks.cpp.