[vlc-devel] [RFC] LibVLC media_list_enumerator
    Pierre d'Herbemont 
    pdherbemont at free.fr
       
    Thu Aug 30 17:39:44 CEST 2007
    
    
  
Hello,
Damien suggested me to implement some enumerators object to parse the  
media_list.
For instance we want to see the media_list has a:
- tree of media
- flat view of all media and sub media
- tree of the media who are nodes.
So for each media_list viewing method we'll have a different enumerator.
The basic type would be:
libvlc_media_list_enumerator /* items are media_descriptor */
	_new (internal)
         _retain
         _release
/* Reading */
	/* With the built in counter */
         _reset
         _next
         _prev
	/* With an index */
         _item_at_index
         _index_of_item
/* Editing */
	_insert_item
	_remove_item
	_replace_item
	_remove_item_at_index
         _insert_item_at_index
	_replace_item_at_index
In the media_list the following would be added:
libvlc_media_list
	_all_media_enumerator
	_node_enumerator
	_enumerator
If you have questions don't hesitate, or don't understand a name  
don't hesitate.
Pierre.
    
    
More information about the vlc-devel
mailing list