/*****************************************************************************
* libvlc_events.h: libvlc_events external API structure
*****************************************************************************
- * Copyright (C) 1998-2008 the VideoLAN team
+ * Copyright (C) 1998-2010 the VideoLAN team
* $Id $
*
* Authors: Filippo Carone <littlejohn@videolan.org>
DEF( VlmMediaInstanceStatusPause ), \
DEF( VlmMediaInstanceStatusEnd ), \
DEF( VlmMediaInstanceStatusError ), \
- /* New event types HERE */
+ \
+ DEF( MediaPlayerMediaChanged ), \
+/* New event types HERE */
#ifdef __cplusplus
enum libvlc_event_type_e {
} media_player_title_changed;
struct
{
- uint64_t new_seekable; /* FIXME: that's a boolean! */
+ int new_seekable;
} media_player_seekable_changed;
struct
{
- uint64_t new_pausable; /* FIXME: that's a BOOL!!! */
+ int new_pausable;
} media_player_pausable_changed;
/* media list */
int index;
} media_list_will_delete_item;
- /* media list view */
- struct
- {
- libvlc_media_t * item;
- int index;
- } media_list_view_item_added;
- struct
- {
- libvlc_media_t * item;
- int index;
- } media_list_view_will_add_item;
- struct
- {
- libvlc_media_t * item;
- int index;
- } media_list_view_item_deleted;
- struct
- {
- libvlc_media_t * item;
- int index;
- } media_list_view_will_delete_item;
-
/* media list player */
struct
{
libvlc_media_t * item;
} media_list_player_next_item_set;
-
+
/* snapshot taken */
struct
{
const char * psz_media_name;
const char * psz_instance_name;
} vlm_media_event;
+
+ /* Extra MediaPlayer */
+ struct
+ {
+ libvlc_media_t * new_media;
+ } media_player_media_changed;
} u;
};