]> git.sesse.net Git - vlc/blobdiff - src/control/libvlc_internal.h
Change the meta information fetcher TEXT
[vlc] / src / control / libvlc_internal.h
index 79d230e26c7ac8439a011b1472af5eaf007791e0..3acefc0739b0c96bfb15d4f894df730eef7d5045 100644 (file)
@@ -149,11 +149,11 @@ struct libvlc_media_list_view_t
     libvlc_media_list_view_item_at_index_func_t      pf_item_at_index;
     libvlc_media_list_view_children_at_index_func_t  pf_children_at_index;
 
-    libvlc_media_list_view_release_func_t       pf_release;
+    libvlc_media_list_view_release_func_t            pf_release;
 
     /* Notification callback */
-    void (*pf_ml_item_added)(const libvlc_event_t *, void *);
-    void (*pf_ml_item_removed)(const libvlc_event_t *, void *);
+    void (*pf_ml_item_added)(const libvlc_event_t *, libvlc_media_list_view_t *);
+    void (*pf_ml_item_removed)(const libvlc_event_t *, libvlc_media_list_view_t *);
 };
 
 struct libvlc_dynamic_media_list_t
@@ -304,8 +304,21 @@ VLC_EXPORT ( libvlc_media_list_view_t *, libvlc_media_list_view_new,
 
 VLC_EXPORT ( void, libvlc_media_list_view_set_ml_notification_callback, (
                 libvlc_media_list_view_t * p_mlv,
-                void (*item_added)(const libvlc_event_t *, void *),
-                void (*item_removed)(const libvlc_event_t *, void *) ));
+                void (*item_added)(const libvlc_event_t *, libvlc_media_list_view_t *),
+                void (*item_removed)(const libvlc_event_t *, libvlc_media_list_view_t *) ));
+
+VLC_EXPORT ( void, libvlc_media_list_view_will_delete_item, ( libvlc_media_list_view_t * p_mlv,
+                                                              libvlc_media_descriptor_t * p_item,
+                                                              int index ));
+VLC_EXPORT ( void, libvlc_media_list_view_item_deleted, ( libvlc_media_list_view_t * p_mlv,
+                                                          libvlc_media_descriptor_t * p_item,
+                                                          int index ));
+VLC_EXPORT ( void, libvlc_media_list_view_will_add_item, ( libvlc_media_list_view_t * p_mlv,
+                                                           libvlc_media_descriptor_t * p_item,
+                                                           int index ));
+VLC_EXPORT ( void, libvlc_media_list_view_item_added, ( libvlc_media_list_view_t * p_mlv,
+                                                        libvlc_media_descriptor_t * p_item,
+                                                        int index ));
 
 /* Events */
 VLC_EXPORT (libvlc_event_manager_t *, libvlc_event_manager_new, ( void * p_obj, libvlc_instance_t * p_libvlc_inst, libvlc_exception_t *p_e ) );