MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / hasTemplate

Method hasTemplate

src/override/ModuleWidget.cpp:729–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727}
728
729bool ModuleWidget::hasTemplate() {
730 std::string presetDir = model->getUserPresetDirectory();
731 std::string templatePath = system::join(presetDir, "template.vcvm");
732 return system::exists(templatePath);;
733}
734
735void ModuleWidget::clearTemplate() {
736 std::string presetDir = model->getUserPresetDirectory();

Callers 1

createContextMenuMethod · 0.45

Calls 1

Tested by

no test coverage detected