Commit 8f1a5b3d authored by Olivier Aubert's avatar Olivier Aubert

mediacontrol API: proper fix for mediacontrol_Instance forward declaration

parent 8e2fd683
...@@ -31,6 +31,13 @@ extern "C" { ...@@ -31,6 +31,13 @@ extern "C" {
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include "vlc/mediacontrol_structures.h" #include "vlc/mediacontrol_structures.h"
typedef struct mediacontrol_Instance {
vlc_object_t *p_vlc;
playlist_t *p_playlist;
intf_thread_t *p_intf;
int vlc_object_id;
} mediacontrol_Instance;
vlc_int64_t mediacontrol_unit_convert( input_thread_t *p_input, vlc_int64_t mediacontrol_unit_convert( input_thread_t *p_input,
mediacontrol_PositionKey from, mediacontrol_PositionKey from,
mediacontrol_PositionKey to, mediacontrol_PositionKey to,
......
...@@ -66,12 +66,9 @@ typedef struct { ...@@ -66,12 +66,9 @@ typedef struct {
#define mediacontrol_PlaylistException 4 #define mediacontrol_PlaylistException 4
#define mediacontrol_InternalException 5 #define mediacontrol_InternalException 5
typedef struct { /* mediacontrol_Instance is an opaque structure, defined in
vlc_object_t *p_vlc; mediacontrol_internal.h. API users do not have to mess with it. */
playlist_t *p_playlist; typedef struct mediacontrol_Instance mediacontrol_Instance;
intf_thread_t *p_intf;
int vlc_object_id;
} mediacontrol_Instance;
/* Cf stream_control.h */ /* Cf stream_control.h */
enum mediacontrol_PlayerStatusList enum mediacontrol_PlayerStatusList
......
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