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

Method SetValue

modules/import-export/mod-cl/ExportCL.cpp:348–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346 }
347
348 bool SetValue(int id, const ExportValue& value) override
349 {
350 if(id == CLOptionIDCommand && std::holds_alternative<std::string>(value))
351 {
352 mCommand = wxString::FromUTF8(*std::get_if<std::string>(&value));
353 return true;
354 }
355 if(id == CLOptionIDShowOutput && std::holds_alternative<bool>(value))
356 {
357 mShowOutput = *std::get_if<bool>(&value);
358 return true;
359 }
360 return false;
361 }
362
363 void Load(const audacity::BasicSettings& config) override
364 {

Callers 2

OnBrowseMethod · 0.45
LoadFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected