Commit e973801d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix struct hotkey

parent efea0aa7
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment