Browse Source

Fix struct hotkey

pull/2/head
Rémi Denis-Courmont 17 years ago
parent
commit
e973801d96
  1. 7
      include/vlc_keys.h
  2. 9
      include/vlc_main.h
  3. 1
      src/libvlc.c

7
include/vlc_keys.h

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

9
include/vlc_main.h

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

1
src/libvlc.c

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

Loading…
Cancel
Save