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

Method setModule

src/override/ModuleWidget.cpp:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void ModuleWidget::setModule(engine::Module* module) {
95 if (this->module) {
96 APP->engine->removeModule(this->module);
97 delete this->module;
98 this->module = NULL;
99 }
100 this->module = module;
101}
102
103widget::Widget* ModuleWidget::getPanel() {
104 return internal->panel;

Callers 2

cloneActionMethod · 0.45
removeActionMethod · 0.45

Calls 1

removeModuleMethod · 0.45

Tested by

no test coverage detected