]> git.sesse.net Git - vlc/blobdiff - include/vlc_playlist.h
Removed unused -playlist_ItemSetName.
[vlc] / include / vlc_playlist.h
index 65c7b20f1def0c5fc71579520defe8939071f8e4..49372b288904b4aae1976cc4705254615bca5243 100644 (file)
@@ -163,11 +163,6 @@ struct playlist_t
 
     playlist_item_array_t current; /**< Items currently being played */
     int                   i_current_index; /**< Index in current array */
-    /** Reset current item array */
-    bool            b_reset_currently_playing;
-    mtime_t               last_rebuild_date;
-
-    int                   i_last_playlist_id; /**< Last id to an item */
 
     /* Predefined items */
     playlist_item_t *     p_root_category; /**< Root of category tree */
@@ -176,15 +171,6 @@ struct playlist_t
     playlist_item_t *     p_ml_category; /** < "Library" in CATEGORY view */
     playlist_item_t *     p_local_onelevel; /** < "Playlist" in ONELEVEL view */
     playlist_item_t *     p_ml_onelevel; /** < "Library" in ONELEVEL view */
-
-    bool            b_auto_preparse;
-
-    /* Runtime */
-    int                   i_sort; /**< Last sorting applied to the playlist */
-    int                   i_order; /**< Last ordering applied to the playlist */
-    mtime_t               gc_date;
-    bool            b_cant_sleep;
-
 };
 
 /** Helper to add an item */
@@ -330,9 +316,6 @@ VLC_EXPORT( playlist_item_t* , playlist_ItemNewWithType, ( playlist_t *,const ch
 /*************************** Item deletion **************************/
 VLC_EXPORT( int,  playlist_DeleteFromInput, ( playlist_t *, int, bool ) );
 
-/*************************** Item fields accessors **************************/
-VLC_EXPORT( int, playlist_ItemSetName, (playlist_item_t *, const char * ) );
-
 /******************** Item addition ********************/
 VLC_EXPORT( int,  playlist_Add,    ( playlist_t *, const char *, const char *, int, int, bool, bool ) );
 VLC_EXPORT( int,  playlist_AddExt, ( playlist_t *, const char *, const char *, int, int, mtime_t, const char *const *,int, bool, bool ) );
@@ -404,7 +387,7 @@ static  inline input_thread_t * __pl_CurrentInput( vlc_object_t * p_this )
 #define playlist_CurrentSize( pl ) pl->current.i_size
 
 /** Ask the playlist to do some work */
-#define playlist_Signal( p_playlist ) vlc_object_signal( p_playlist )
+VLC_EXPORT( void, playlist_Signal, ( playlist_t * ) );
 
 /** @} */
 # ifdef __cplusplus