| 8 | } |
| 9 | |
| 10 | Switch::Switch(std::shared_ptr<ViewCoreFactory> viewCoreFactory) : View(std::move(viewCoreFactory)) |
| 11 | { |
| 12 | detail::VIEW_CORE_REGISTER(Switch, View::viewCoreFactory()); |
| 13 | } |
| 14 | |
| 15 | TriState Switch::state() const { return on ? TriState::On : TriState::Off; } |
| 16 |
nothing calls this directly
no outgoing calls
no test coverage detected