|
YCLIMP
Yandex Command Line Interface Music Player
|
The HotKeyComponent class - class to handle pre defined bindings. More...
#include <HotKeyComponent.hpp>
Public Member Functions | |
| HotKeyComponent (const std::string &ownerName) | |
| HotKeyComponent::HotKeyComponent. | |
| void | InsertBindingAction (const std::pair< std::string, std::function< void()> > &bindingAction) |
| void | HandleUserEvent (Event event, bool ownerIsActive) |
| Process global bindings. If ownerIsActive is true process local bindings as well. | |
The HotKeyComponent class - class to handle pre defined bindings.
| HotKeyComponent::HotKeyComponent | ( | const std::string & | ownerName | ) |
HotKeyComponent::HotKeyComponent.
| ownerName | - should match bindings file(for now it's KeyBindings.xml but could be changed) |