Audacity 3.2.0
|
Public Member Functions | |
ExportOptionsCLEditor ()=default | |
void | PopulateUI (ShuttleGui &S) override |
bool | TransferDataFromWindow () override |
SampleRateList | GetSampleRateList () const override |
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 &config) const override |
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 |
Public Member Functions inherited from ExportOptionsUIServices | |
virtual | ~ExportOptionsUIServices () |
virtual void | PopulateUI (ShuttleGui &)=0 |
virtual bool | TransferDataFromWindow ()=0 |
Static Public Member Functions | |
static bool | IsValidCommand (const wxString &command) |
Private Member Functions | |
void | OnBrowse (const wxCommandEvent &) |
Private Attributes | |
wxString | mCommand {wxT("lame - \"%f\"")} |
bool | mShowOutput {false} |
bool | mInitialized {false} |
wxWindow * | mParent {nullptr} |
wxComboBox * | mCommandBox {nullptr} |
wxString | mLastCommand |
FileHistory | mHistory |
Additional Inherited Members | |
Public Types inherited from ExportOptionsEditor | |
using | SampleRateList = std::vector< int > |
Definition at line 170 of file ExportCL.cpp.
|
default |
|
inlineoverridevirtual |
Implements ExportOptionsEditor.
Definition at line 322 of file ExportCL.cpp.
References CLOptions.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements ExportOptionsEditor.
Definition at line 312 of file ExportCL.cpp.
|
inlineoverridevirtual |
Implements ExportOptionsEditor.
Definition at line 332 of file ExportCL.cpp.
References CLOptionIDCommand, CLOptionIDShowOutput, mCommand, and mShowOutput.
|
inlinestatic |
Definition at line 243 of file ExportCL.cpp.
References CommandLineArgs::argv, BasicUI::MessageBoxOptions::Caption(), BasicUI::MessageBoxOptions::IconStyle(), ShowExportErrorDialog(), BasicUI::ShowMessageBox(), BasicUI::Warning, wxT(), and XO().
Referenced by TransferDataFromWindow().
|
inlineoverridevirtual |
Implements ExportOptionsEditor.
Definition at line 362 of file ExportCL.cpp.
References mCommand, mShowOutput, audacity::BasicSettings::Read(), and wxT().
|
inlineprivate |
Definition at line 376 of file ExportCL.cpp.
References FileNames::AllFiles, mCommandBox, mParent, SelectFile(), wxT(), and XO().
Referenced by PopulateUI().
|
inlineoverridevirtual |
Implements ExportOptionsUIServices.
Definition at line 181 of file ExportCL.cpp.
References FileHistory::Append(), FileHistory::begin(), FileHistory::empty(), FileHistory::end(), gPrefs, FileHistory::Load(), mCommand, mCommandBox, mHistory, mInitialized, mLastCommand, mParent, mShowOutput, OnBrowse(), S, wxT(), XO(), and XXO().
|
inlineoverridevirtual |
Implements ExportOptionsEditor.
Definition at line 347 of file ExportCL.cpp.
References CLOptionIDCommand, CLOptionIDShowOutput, mCommand, and mShowOutput.
|
inlineoverridevirtual |
Implements ExportOptionsEditor.
Definition at line 368 of file ExportCL.cpp.
References mCommand, mShowOutput, audacity::BasicSettings::Write(), and wxT().
|
inlineoverridevirtual |
Implements ExportOptionsUIServices.
Definition at line 300 of file ExportCL.cpp.
References FileHistory::Append(), gPrefs, IsValidCommand(), mCommand, mHistory, mLastCommand, and FileHistory::Save().
|
private |
Definition at line 174 of file ExportCL.cpp.
Referenced by GetValue(), Load(), PopulateUI(), SetValue(), Store(), and TransferDataFromWindow().
|
private |
Definition at line 408 of file ExportCL.cpp.
Referenced by OnBrowse(), and PopulateUI().
|
private |
Definition at line 415 of file ExportCL.cpp.
Referenced by PopulateUI(), and TransferDataFromWindow().
|
private |
Definition at line 176 of file ExportCL.cpp.
Referenced by PopulateUI().
|
private |
Definition at line 413 of file ExportCL.cpp.
Referenced by PopulateUI(), and TransferDataFromWindow().
|
private |
Definition at line 407 of file ExportCL.cpp.
Referenced by OnBrowse(), and PopulateUI().
|
private |
Definition at line 175 of file ExportCL.cpp.
Referenced by GetValue(), Load(), PopulateUI(), SetValue(), and Store().