25 Hotkey(uint16 default_keycode,
const char *name,
int num);
26 Hotkey(
const uint16 *default_keycodes,
const char *name,
int num);
35 #define HOTKEY_LIST_END Hotkey((uint16)0, NULL, -1)
43 typedef EventState (*GlobalHotkeyHandlerFunc)(
int hotkey);
45 HotkeyList(
const char *ini_group,
Hotkey *items, GlobalHotkeyHandlerFunc global_hotkey_handler = NULL);
51 int CheckMatch(uint16 keycode,
bool global_only =
false)
const;
53 GlobalHotkeyHandlerFunc global_hotkey_handler;
55 const char *ini_group;
62 HotkeyList(
const HotkeyList &other);
71 void HandleGlobalHotkeys(
WChar key, uint16 keycode);