]> git.sesse.net Git - vlc/blobdiff - include/vlc_playlist.h
playlist: Fetcher and parser are playlist private.
[vlc] / include / vlc_playlist.h
index 54e457c40377caa32b1efd1ed5bab0f5c7195804..d11f65d0216067f21170594accd2ca1629af0912 100644 (file)
@@ -153,6 +153,8 @@ struct playlist_item_t
 typedef enum
 { PLAYLIST_STOPPED,PLAYLIST_RUNNING,PLAYLIST_PAUSED } playlist_status_t;
 
+typedef struct playlist_private_t playlist_private_t;
+
 /** Structure containing information about the playlist */
 struct playlist_t
 {
@@ -200,8 +202,6 @@ struct playlist_t
     int                   i_order; /**< Last ordering applied to the playlist */
     mtime_t               gc_date;
     bool            b_cant_sleep;
-    playlist_preparse_t  *p_preparse; /**< Preparser object */
-    playlist_fetcher_t   *p_fetcher;/**< Meta and art fetcher object */
 
     struct {
         /* Current status. These fields are readonly, only the playlist
@@ -224,6 +224,10 @@ struct playlist_t
                                            when processing the request */
         vlc_mutex_t         lock;     /**< Lock to protect request */
     } request;
+
+    /* All other data is PRIVATE. You can't access it
+     * outside of src/input */
+    playlist_private_t *p;
 };
 
 /** Helper to add an item */