Actions handler
| 470 | |
| 471 | // Actions handler |
| 472 | auto waybar::modules::Clock::doAction(const std::string& name) -> void { |
| 473 | if (actionMap_[name]) { |
| 474 | (this->*actionMap_[name])(); |
| 475 | } else |
| 476 | spdlog::error("Clock. Unsupported action \"{0}\"", name); |
| 477 | } |
| 478 | |
| 479 | // Module actions |
| 480 | void waybar::modules::Clock::cldModeSwitch() { |
nothing calls this directly
no outgoing calls
no test coverage detected