Fix struct hotkey

This commit is contained in:
Rémi Denis-Courmont 2010-01-03 16:06:55 +02:00
parent efea0aa791
commit e973801d96
3 changed files with 11 additions and 6 deletions

View File

@ -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

View File

@ -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;
};

View File

@ -84,6 +84,7 @@
#include <vlc_charset.h>
#include <vlc_cpu.h>
#include <vlc_url.h>
#include <vlc_keys.h>
#include "libvlc.h"