Audacity  3.0.3
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 (std::shared_ptr< TrackList > &&tracks_, const TranslatableString &description_, const TranslatableString &shortDescription_, const SelectedRegion &selectedRegion_, const std::shared_ptr< Tags > &tags_)

Public Attributes

UndoState state
TranslatableString description
TranslatableString shortDescription

Detailed Description

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

Definition at line 97 of file UndoManager.h.

Constructor & Destructor Documentation

◆ UndoStackElem()

UndoStackElem::UndoStackElem ( std::shared_ptr< TrackList > &&  tracks_,
const TranslatableString description_,
const TranslatableString shortDescription_,
const SelectedRegion selectedRegion_,
const std::shared_ptr< Tags > &  tags_ 

Definition at line 99 of file UndoManager.h.

104  : state(std::move(tracks_), tags_, selectedRegion_)
105  , description(description_)
106  , shortDescription(shortDescription_)
107  {
108  }

Member Data Documentation

◆ description

TranslatableString UndoStackElem::description

Definition at line 111 of file UndoManager.h.

◆ shortDescription

TranslatableString UndoStackElem::shortDescription

Definition at line 112 of file UndoManager.h.

◆ state

UndoState UndoStackElem::state

The documentation for this class was generated from the following file:
TranslatableString shortDescription
Definition: UndoManager.h:112
UndoState state
Definition: UndoManager.h:110
TranslatableString description
Definition: UndoManager.h:111