Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
UndoStackElem Class Reference

Holds one item with description and time range for the UndoManager. More...

#include <UndoManager.h>

Collaboration diagram for UndoStackElem:

Public Member Functions

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

Public Attributes

UndoState state
TranslatableString description
TranslatableString shortDescription

Detailed Description

Holds one item with description and time range for the UndoManager.

Definition at line 127 of file UndoManager.h.

Constructor & Destructor Documentation

◆ UndoStackElem()

UndoStackElem::UndoStackElem ( UndoState::Extensions  extensions,
std::shared_ptr< TrackList > &&  tracks_,
const TranslatableString description_,
const TranslatableString shortDescription_,
const SelectedRegion selectedRegion_ 

Definition at line 129 of file UndoManager.h.

134 : state(std::move(extensions), std::move(tracks_), selectedRegion_)
135 , description(description_)
136 , shortDescription(shortDescription_)
137 {
138 }
TranslatableString description
Definition: UndoManager.h:141
TranslatableString shortDescription
Definition: UndoManager.h:142
UndoState state
Definition: UndoManager.h:140

Member Data Documentation

◆ description

TranslatableString UndoStackElem::description

Definition at line 141 of file UndoManager.h.

Referenced by HistoryDialog::DoUpdate().

◆ shortDescription

TranslatableString UndoStackElem::shortDescription

Definition at line 142 of file UndoManager.h.

◆ state

UndoState UndoStackElem::state

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