
Functions | |
| static int | keycmp (const void *a, const void *b) |
| static vlc_key_t | vlc_TranslateKey (const vlc_object_t *obj, uint_fast32_t keycode) |
| Get the action associated with a VLC key code, if any. | |
| static int | vlc_key_to_action (vlc_object_t *libvlc, const char *varname, vlc_value_t prevkey, vlc_value_t curkey, void *d) |
| int | vlc_InitActions (libvlc_int_t *libvlc) |
| void | vlc_DeinitActions (libvlc_int_t *libvlc) |
| static int | actcmp (const void *key, const void *ent) |
| vlc_key_t | vlc_GetActionId (const char *name) |
| static int actcmp | ( | const void * | key, | |
| const void * | ent | |||
| ) | [static] |
References action::name.
Referenced by vlc_GetActionId().
| static int keycmp | ( | const void * | a, | |
| const void * | b | |||
| ) | [static] |
References hotkey::i_key.
Referenced by vlc_InitActions(), and vlc_TranslateKey().
| void vlc_DeinitActions | ( | libvlc_int_t * | libvlc | ) |
References libvlc_int_t::p_hotkeys, unlikely, var_DelCallback(), and vlc_key_to_action().
Referenced by libvlc_InternalCleanup().
| vlc_key_t vlc_GetActionId | ( | const char * | name | ) |
References actcmp(), libvlc_actions, libvlc_actions_count, and action::value.
| int vlc_InitActions | ( | libvlc_int_t * | libvlc | ) |
References hotkey::i_action, hotkey::i_key, keycmp(), libvlc_actions, libvlc_actions_count, msg_Err, name, action::name, libvlc_int_t::p_hotkeys, hotkey::psz_action, action::value, var_AddCallback(), var_Create(), var_InheritInteger, vlc_key_to_action(), and VLC_VAR_INTEGER.
Referenced by libvlc_InternalInit().
| static int vlc_key_to_action | ( | vlc_object_t * | libvlc, | |
| const char * | varname, | |||
| vlc_value_t | prevkey, | |||
| vlc_value_t | curkey, | |||
| void * | d | |||
| ) | [static] |
References vlc_value_t::i_int, var_SetInteger, and vlc_TranslateKey().
Referenced by vlc_DeinitActions(), and vlc_InitActions().
| static vlc_key_t vlc_TranslateKey | ( | const vlc_object_t * | obj, | |
| uint_fast32_t | keycode | |||
| ) | [static] |
Get the action associated with a VLC key code, if any.
References hotkey::i_action, keycmp(), libvlc_actions_count, and hotkey::psz_action.
Referenced by vlc_key_to_action().
1.7.1