Audacity 3.2.0
Classes | Public Types | List of all members
UndoRedoExtensionRegistry Class Reference

#include <UndoManager.h>

Classes

struct  Entry
 Typically statically constructed. More...
 

Public Types

using Saver = std::function< std::shared_ptr< UndoStateExtension >(AudacityProject &)>
 Type of function that produces an UndoStateExtension object when saving state of a project. More...
 

Detailed Description

Definition at line 94 of file UndoManager.h.

Member Typedef Documentation

◆ Saver

using UndoRedoExtensionRegistry::Saver = std::function<std::shared_ptr<UndoStateExtension>(AudacityProject&)>

Type of function that produces an UndoStateExtension object when saving state of a project.

Shared pointer allows easy sharing of unchanging parts of project state among history states

Definition at line 98 of file UndoManager.h.


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