class
ShortcutManager
Allows you to register global keyboard shortcuts that trigger callbacks when a certain key, or a key combination is pressed.
Public
Constructors
ShortcutManager
Methods
~ShortcutManager
AddShortcut
Registers a new shortcut key and a callback to be called when the shortcut key is triggered.
RemoveShortcut
Removes an existing shortcut key (it's callback will no longer be triggered when this combination is pressed).
staticInstance
Returns a reference to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticInstancePtr
Returns a pointer to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticShutDown
Shuts down this module and frees any resources it is using.
staticIsStarted
Query if the module has been started.
Protected
Methods
~Module<T>
OnStartUp
Override if you want your module to be notified once it has been constructed and started.
OnShutDown
Override if you want your module to be notified just before it is deleted.
staticInstanceInternal
Returns a singleton instance of this module.
Private
Methods
OnButtonDown
Triggered whenever a user presses a button.