Audacity 3.2.0
Public Member Functions | Protected Attributes | List of all members
BrushHandle::StateSaver Class Referenceabstract

#include <BrushHandle.h>

Inheritance diagram for BrushHandle::StateSaver:
[legend]

Public Member Functions

virtual ~StateSaver ()
 
virtual void Init (AudacityProject &project, bool clearAll)=0
 
void Commit ()
 

Protected Attributes

bool mCommitted = false
 

Detailed Description

Callbacks from the brush handle

Definition at line 37 of file BrushHandle.h.

Constructor & Destructor Documentation

◆ ~StateSaver()

BrushHandle::StateSaver::~StateSaver ( )
virtualdefault

Member Function Documentation

◆ Commit()

void BrushHandle::StateSaver::Commit ( )
inline

Definition at line 42 of file BrushHandle.h.

43 {
44 mCommitted = true;
45 }

◆ Init()

virtual void BrushHandle::StateSaver::Init ( AudacityProject project,
bool  clearAll 
)
pure virtual

Member Data Documentation

◆ mCommitted

bool BrushHandle::StateSaver::mCommitted = false
protected

Definition at line 48 of file BrushHandle.h.

Referenced by SpectrumView::SpectralDataSaver::~SpectralDataSaver().


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