control/media_descriptor.c: Expose event_manager().
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 25 Aug 2007 16:28:13 +0000 (16:28 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 25 Aug 2007 16:28:13 +0000 (16:28 +0000)
include/vlc/libvlc.h
src/control/media_descriptor.c

index 5bc7453..933590c 100644 (file)
@@ -237,6 +237,10 @@ VLC_PUBLIC_API libvlc_media_list_t *
     libvlc_media_descriptor_subitems( libvlc_media_descriptor_t *p_md,
                                       libvlc_exception_t *p_e );
 
+VLC_PUBLIC_APIlibvlc_event_manager_t *
+    libvlc_media_descriptor_event_manager( libvlc_media_descriptor_t * p_md,
+                                           libvlc_exception_t * p_e )
+
 /** @}*/
 
 /*****************************************************************************
index f55f976..03762a7 100644 (file)
@@ -449,3 +449,13 @@ libvlc_media_descriptor_subitems( libvlc_media_descriptor_t * p_md,
         libvlc_media_list_retain( p_md->p_subitems );
     return p_md->p_subitems;
 }
+
+/**************************************************************************
+ * event_manager
+ **************************************************************************/
+libvlc_event_manager_t *
+libvlc_media_descriptor_event_manager( libvlc_media_descriptor_t * p_md,
+                                       libvlc_exception_t * p_e )
+{
+    return p_md->p_event_manager;
+}