]> git.sesse.net Git - vlc/blobdiff - include/vlc_playlist.h
Signal can_rewind for use by user interfaces.
[vlc] / include / vlc_playlist.h
index ee171449d63106bc67fa3bad8112387d84aa0ae6..2a3a2d435033816fb9e26aaa4e8e171f0dfa4b19 100644 (file)
@@ -160,16 +160,9 @@ struct playlist_t
 
     playlist_item_array_t items; /**< Arrays of items */
     playlist_item_array_t all_items; /**< Array of items and nodes */
-    playlist_item_array_t items_to_delete; /**< Array of items and nodes to
-            delete... At the very end. This sucks. */
 
     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 */
@@ -178,19 +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_tree; /**< Display as a tree */
-
-    bool            b_doing_ml; /**< Doing media library stuff,
-                                       * get quicker */
-    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 */
@@ -410,7 +390,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