| 566 | } |
| 567 | |
| 568 | void CtrlrLuaMethodManager::removeMethod (const Uuid methodUuid) |
| 569 | { |
| 570 | CtrlrLuaMethod *method = getMethodByUuid(methodUuid); |
| 571 | if (method) |
| 572 | { |
| 573 | ValueTree child = method->getMethodTree(); |
| 574 | ValueTree parent = child.getParent(); |
| 575 | |
| 576 | method->remove(); |
| 577 | parent.removeChild (child, nullptr); |
| 578 | |
| 579 | methods.removeObject (method); |
| 580 | } |
| 581 | } |
| 582 | |
| 583 | const int CtrlrLuaMethodManager::getNumMethods() |
| 584 | { |
no test coverage detected