control/media_discoverer.c: Publish media_discoverer_event_manager().
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 25 Dec 2007 22:33:56 +0000 (22:33 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 25 Dec 2007 22:33:56 +0000 (22:33 +0000)
include/vlc/libvlc.h
src/control/media_discoverer.c

index a8f2d00..ab96451 100644 (file)
@@ -1048,6 +1048,9 @@ VLC_PUBLIC_API char * libvlc_media_discoverer_localized_name( libvlc_media_disco
 
 VLC_PUBLIC_API libvlc_media_list_t * libvlc_media_discoverer_media_list( libvlc_media_discoverer_t * p_mdis );
 
+VLC_PUBLIC_API libvlc_event_manager_t *
+        libvlc_media_discoverer_event_manager( libvlc_media_discoverer_t * p_mdis );
+
 /**@} */
 
 /*****************************************************************************
index 9c19521..5e399ce 100644 (file)
@@ -198,3 +198,12 @@ libvlc_media_discoverer_media_list( libvlc_media_discoverer_t * p_mdis )
     return p_mdis->p_mlist;
 }
 
+/**************************************************************************
+ * event_manager (Public)
+ **************************************************************************/
+libvlc_event_manager_t *
+libvlc_media_discoverer_event_manager( libvlc_media_discoverer_t * p_mdis )
+{
+    return p_mdis->p_event_manager;
+}
+