Hotkey module *****/
| 1871 | |
| 1872 | /***** Hotkey module *****/ |
| 1873 | static bool hotkey_addKeybind(const std::string spec, const std::string cmd) { |
| 1874 | auto hotkey_mgr = Core::getInstance().getHotkeyManager(); |
| 1875 | if (!hotkey_mgr) return false; |
| 1876 | return hotkey_mgr->addKeybind(spec, cmd); |
| 1877 | } |
| 1878 | |
| 1879 | static bool hotkey_isDisruptiveKeybind(const std::string spec) { |
| 1880 | auto key = Hotkey::KeySpec::parse(spec); |
nothing calls this directly
no test coverage detected