MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / listPresets

Method listPresets

src/utils/CliRemoteController.cpp:233–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233bool CliRemoteController::listPresets() const
234{
235 auto *model = PresetManager::instance().presetModel();
236 model->rescan();
237 for(const auto& name : model->getList())
238 Log::console(name, true);
239 return model->rowCount() > 0;
240}
241
242bool CliRemoteController::loadPreset(const QString &name) const
243{

Callers

nothing calls this directly

Calls 4

presetModelMethod · 0.80
rescanMethod · 0.80
getListMethod · 0.80
rowCountMethod · 0.45

Tested by

no test coverage detected