mirror of https://code.videolan.org/videolan/vlc
Fix struct hotkey
This commit is contained in:
parent
efea0aa791
commit
e973801d96
|
@ -209,4 +209,11 @@ typedef enum vlc_key {
|
|||
|
||||
VLC_EXPORT( vlc_key_t, vlc_GetActionId, (const char *psz_key) ) LIBVLC_USED;
|
||||
|
||||
struct hotkey
|
||||
{
|
||||
const char *psz_action;
|
||||
vlc_key_t i_action;
|
||||
uint_fast32_t i_key;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
|
||||
TYPEDEF_ARRAY(input_item_t*, input_item_array_t);
|
||||
|
||||
struct hotkey;
|
||||
|
||||
/*****************************************************************************
|
||||
* libvlc_internal_instance_t
|
||||
*****************************************************************************
|
||||
|
@ -38,11 +40,6 @@ struct libvlc_int_t
|
|||
VLC_COMMON_MEMBERS
|
||||
|
||||
/* Structure storing the action name / key associations */
|
||||
const struct hotkey
|
||||
{
|
||||
const char *psz_action;
|
||||
int i_action;
|
||||
int i_key;
|
||||
} *p_hotkeys;
|
||||
const struct hotkey *p_hotkeys;
|
||||
};
|
||||
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
#include <vlc_charset.h>
|
||||
#include <vlc_cpu.h>
|
||||
#include <vlc_url.h>
|
||||
#include <vlc_keys.h>
|
||||
|
||||
#include "libvlc.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue