MCPcopy Create free account
hub / github.com/audacity/audacity / ExportOptionsHandler

Method ExportOptionsHandler

src/export/ExportOptionsHandler.cpp:33–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31ExportOptionsHandler::~ExportOptionsHandler() = default;
32
33ExportOptionsHandler::ExportOptionsHandler(ShuttleGui& S, const ExportPlugin& plugin, int format)
34{
35 mParent = S.GetParent();
36
37 mEditor = plugin.CreateOptionsEditor(format, this);
38 if(mEditor)
39 {
40 mEditor->Load(*gPrefs);
41 if(auto uiServices = dynamic_cast<ExportOptionsUIServices*>(mEditor.get()))
42 uiServices->PopulateUI(S);
43 else
44 PopulateOptions(S);
45 }
46 else
47 PopulateEmpty(S);
48}
49
50bool ExportOptionsHandler::TransferDataFromEditor()
51{

Callers

nothing calls this directly

Calls 5

GetParentMethod · 0.45
CreateOptionsEditorMethod · 0.45
LoadMethod · 0.45
getMethod · 0.45
PopulateUIMethod · 0.45

Tested by

no test coverage detected