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

#include <UndoManager.h>

Collaboration diagram for UndoState:
[legend]

Public Types

using Extensions = std::vector< std::shared_ptr< UndoStateExtension > >
 

Public Member Functions

 UndoState (Extensions extensions, std::shared_ptr< TrackList > &&tracks_, const SelectedRegion &selectedRegion_)
 

Public Attributes

Extensions extensions
 
std::shared_ptr< TrackListtracks
 
SelectedRegion selectedRegion
 

Detailed Description

Definition at line 112 of file UndoManager.h.

Member Typedef Documentation

◆ Extensions

using UndoState::Extensions = std::vector<std::shared_ptr<UndoStateExtension> >

Definition at line 113 of file UndoManager.h.

Constructor & Destructor Documentation

◆ UndoState()

UndoState::UndoState ( Extensions  extensions,
std::shared_ptr< TrackList > &&  tracks_,
const SelectedRegion selectedRegion_ 
)
inline

Definition at line 115 of file UndoManager.h.

118 : extensions(std::move(extensions))
119 , tracks(std::move(tracks_)), selectedRegion(selectedRegion_)
120 {}
std::shared_ptr< TrackList > tracks
Definition: UndoManager.h:123
Extensions extensions
Definition: UndoManager.h:122
SelectedRegion selectedRegion
Definition: UndoManager.h:124

Member Data Documentation

◆ extensions

Extensions UndoState::extensions

Definition at line 122 of file UndoManager.h.

Referenced by ProjectHistory::PopState().

◆ selectedRegion

SelectedRegion UndoState::selectedRegion

Definition at line 124 of file UndoManager.h.

Referenced by ProjectHistory::PopState().

◆ tracks

std::shared_ptr<TrackList> UndoState::tracks

The documentation for this struct was generated from the following file: