Audacity 3.2.0
|
#include <PlainExportOptionsEditor.h>
Classes | |
struct | OptionDesc |
Public Member Functions | |
PlainExportOptionsEditor (std::initializer_list< OptionDesc > options, Listener *listener=nullptr) | |
PlainExportOptionsEditor (std::initializer_list< OptionDesc > options, SampleRateList samplerates, Listener *listener=nullptr) | |
int | GetOptionsCount () const override |
bool | GetOption (int index, ExportOption &option) const override |
bool | GetValue (int id, ExportValue &value) const override |
bool | SetValue (int id, const ExportValue &value) override |
void | Load (const audacity::BasicSettings &config) override |
void | Store (audacity::BasicSettings &) const override |
SampleRateList | GetSampleRateList () const override |
void | SetSampleRateList (SampleRateList rates) |
Public Member Functions inherited from ExportOptionsEditor | |
virtual | ~ExportOptionsEditor () |
virtual int | GetOptionsCount () const =0 |
virtual bool | GetOption (int index, ExportOption &option) const =0 |
virtual bool | GetValue (ExportOptionID id, ExportValue &value) const =0 |
virtual bool | SetValue (ExportOptionID id, const ExportValue &value)=0 |
virtual SampleRateList | GetSampleRateList () const =0 |
virtual void | Store (audacity::BasicSettings &settings) const =0 |
virtual void | Load (const audacity::BasicSettings &config)=0 |
Private Member Functions | |
void | InitOptions (std::initializer_list< OptionDesc > options) |
Private Attributes | |
std::vector< ExportOption > | mOptions |
wxArrayString | mConfigKeys |
std::unordered_map< int, ExportValue > | mValues |
SampleRateList | mRates |
Listener * | mOptionsListener {} |
Additional Inherited Members | |
Public Types inherited from ExportOptionsEditor | |
using | SampleRateList = std::vector< int > |
Definition at line 19 of file PlainExportOptionsEditor.h.
|
explicit |
Definition at line 16 of file PlainExportOptionsEditor.cpp.
References InitOptions().
|
explicit |
Definition at line 23 of file PlainExportOptionsEditor.cpp.
References InitOptions().
|
overridevirtual |
Implements ExportOptionsEditor.
Definition at line 37 of file PlainExportOptionsEditor.cpp.
References mOptions.
|
overridevirtual |
Implements ExportOptionsEditor.
Definition at line 32 of file PlainExportOptionsEditor.cpp.
References mOptions.
|
overridevirtual |
Implements ExportOptionsEditor.
Definition at line 112 of file PlainExportOptionsEditor.cpp.
References mRates.
|
override |
Definition at line 47 of file PlainExportOptionsEditor.cpp.
References mValues.
|
private |
Definition at line 124 of file PlainExportOptionsEditor.cpp.
References anonymous_namespace{ExportPCM.cpp}::desc, mConfigKeys, mOptions, and mValues.
Referenced by PlainExportOptionsEditor().
|
overridevirtual |
Implements ExportOptionsEditor.
Definition at line 69 of file PlainExportOptionsEditor.cpp.
References mConfigKeys, mOptions, mValues, and audacity::BasicSettings::Read().
void PlainExportOptionsEditor::SetSampleRateList | ( | SampleRateList | rates | ) |
Definition at line 117 of file PlainExportOptionsEditor.cpp.
References mOptionsListener, mRates, and ExportOptionsEditor::Listener::OnSampleRateListChange().
|
override |
Definition at line 58 of file PlainExportOptionsEditor.cpp.
References mValues.
|
overridevirtual |
Implements ExportOptionsEditor.
Definition at line 92 of file PlainExportOptionsEditor.cpp.
References mConfigKeys, mOptions, mValues, and audacity::BasicSettings::Write().
|
private |
Definition at line 22 of file PlainExportOptionsEditor.h.
Referenced by InitOptions(), Load(), and Store().
|
private |
Definition at line 21 of file PlainExportOptionsEditor.h.
Referenced by GetOption(), GetOptionsCount(), InitOptions(), Load(), and Store().
|
private |
Definition at line 25 of file PlainExportOptionsEditor.h.
Referenced by SetSampleRateList().
|
private |
Definition at line 24 of file PlainExportOptionsEditor.h.
Referenced by GetSampleRateList(), and SetSampleRateList().
|
private |
Definition at line 23 of file PlainExportOptionsEditor.h.
Referenced by GetValue(), InitOptions(), Load(), SetValue(), and Store().