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:
[legend]

Public Member Functions

 UndoStackElem (UndoState::Extensions extensions, const TranslatableString &description_, const TranslatableString &shortDescription_)
 

Public Attributes

UndoState state
 
TranslatableString description
 
TranslatableString shortDescription
 

Detailed Description

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

Definition at line 117 of file UndoManager.h.

Constructor & Destructor Documentation

◆ UndoStackElem()

UndoStackElem::UndoStackElem ( UndoState::Extensions  extensions,
const TranslatableString description_,
const TranslatableString shortDescription_ 
)
inline

Definition at line 119 of file UndoManager.h.

122 : state(std::move(extensions))
123 , description(description_)
124 , shortDescription(shortDescription_)
125 {
126 }
TranslatableString description
Definition: UndoManager.h:129
TranslatableString shortDescription
Definition: UndoManager.h:130
UndoState state
Definition: UndoManager.h:128

Member Data Documentation

◆ description

TranslatableString UndoStackElem::description

Definition at line 129 of file UndoManager.h.

Referenced by HistoryDialog::DoUpdate().

◆ shortDescription

TranslatableString UndoStackElem::shortDescription

Definition at line 130 of file UndoManager.h.

◆ state

UndoState UndoStackElem::state

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