Mercurial > audlegacy
diff audacious/playlist.h @ 356:99928e1275a1 trunk
[svn] This commit reduces the amount of times we probe a source down to ONE
SINGLE TIME, using the cache I created earlier to provide all the
information we need!
author | nenolod |
---|---|
date | Thu, 29 Dec 2005 22:44:13 -0800 |
parents | 1c701dfe5098 |
children | f908bcd87c3d |
line wrap: on
line diff
--- a/audacious/playlist.h Thu Dec 29 22:10:26 2005 -0800 +++ b/audacious/playlist.h Thu Dec 29 22:44:13 2005 -0800 @@ -37,7 +37,6 @@ PLAYLIST_FORMAT_COUNT } PlaylistFormat; - #define PLAYLIST_ENTRY(x) ((PlaylistEntry*)(x)) struct _PlaylistEntry { gchar *filename; @@ -109,7 +108,11 @@ void playlist_delete_index(guint pos); void playlist_delete_filenames(GList * filenames); +const PlaylistEntry *playlist_get_entry_to_play(); + +/* XXX this is for reverse compatibility --nenolod */ const gchar *playlist_get_filename_to_play(); + gchar *playlist_get_filename(guint pos); gchar *playlist_get_songtitle(guint pos); gint playlist_get_songtime(guint pos); @@ -147,4 +150,6 @@ G_LOCK_EXTERN(playlist); +extern PlaylistEntry *playlist_position; + #endif