| 177 | } |
| 178 | |
| 179 | void CtrlrLuaMethodManager::removeGroup(ValueTree groupToRemove) |
| 180 | { |
| 181 | ValueTree parent = groupToRemove.getParent(); |
| 182 | |
| 183 | for (int i=0; i<groupToRemove.getNumChildren(); i++) |
| 184 | { |
| 185 | ValueTree child = groupToRemove.getChild(i); |
| 186 | if (child.isValid() && child.hasType(Ids::luaMethod)) |
| 187 | { |
| 188 | removeMethod (child.getProperty(Ids::uuid).toString()); |
| 189 | } |
| 190 | } |
| 191 | parent.removeChild (groupToRemove, nullptr); |
| 192 | } |
| 193 | |
| 194 | void CtrlrLuaMethodManager::addGroup (const String &groupName, const Uuid parentUuid, const Uuid groupUuid) |
| 195 | { |
nothing calls this directly
no test coverage detected