Audacity  3.0.3
Public Member Functions | Public Attributes | List of all members
UndoState Struct Reference

#include <UndoManager.h>

Collaboration diagram for UndoState:

Public Member Functions

 UndoState (std::shared_ptr< TrackList > &&tracks_, const std::shared_ptr< Tags > &tags_, const SelectedRegion &selectedRegion_)

Public Attributes

std::shared_ptr< TrackListtracks
std::shared_ptr< Tagstags
SelectedRegion selectedRegion

Detailed Description

Definition at line 85 of file UndoManager.h.

Constructor & Destructor Documentation

◆ UndoState()

UndoState::UndoState ( std::shared_ptr< TrackList > &&  tracks_,
const std::shared_ptr< Tags > &  tags_,
const SelectedRegion selectedRegion_ 

Definition at line 86 of file UndoManager.h.

89  : tracks(std::move(tracks_)), tags(tags_), selectedRegion(selectedRegion_)
90  {}

Member Data Documentation

◆ selectedRegion

SelectedRegion UndoState::selectedRegion

Definition at line 94 of file UndoManager.h.

Referenced by ProjectHistory::PopState().

◆ tags

std::shared_ptr<Tags> UndoState::tags

Definition at line 93 of file UndoManager.h.

Referenced by ProjectHistory::PopState().

◆ tracks

std::shared_ptr<TrackList> UndoState::tracks

Definition at line 92 of file UndoManager.h.

Referenced by ProjectHistory::PopState().

The documentation for this struct was generated from the following file:
std::shared_ptr< TrackList > tracks
Definition: UndoManager.h:92
std::shared_ptr< Tags > tags
Definition: UndoManager.h:93
SelectedRegion selectedRegion
Definition: UndoManager.h:94