| 93 | } |
| 94 | |
| 95 | void ComponentController::setNewComponentState(hyperhdr::Components comp, bool activated) |
| 96 | { |
| 97 | if (_componentStates[comp] != activated) |
| 98 | { |
| 99 | Info(_log, "%s: %s", componentToString(comp), (activated ? "enabled" : "disabled")); |
| 100 | _componentStates[comp] = activated; |
| 101 | // emit component has changed state |
| 102 | emit SignalComponentStateChanged(comp, activated); |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | void ComponentController::turnGrabbers(bool activated) |
| 107 | { |
nothing calls this directly
no test coverage detected