Mercurial > audlegacy
diff src/audacious/playlist.h @ 3477:57f4971b7086 trunk
New functions for associating a filename with a playlist. Made title/filename setting more consistent.
author | Kieran Clancy <clancy.kieran+audacious@gmail.com> |
---|---|
date | Mon, 10 Sep 2007 13:50:18 +0930 |
parents | adc785ee517b |
children | 26910525cec8 |
line wrap: on
line diff
--- a/src/audacious/playlist.h Mon Sep 10 13:47:16 2007 +0930 +++ b/src/audacious/playlist.h Mon Sep 10 13:50:18 2007 +0930 @@ -213,8 +213,13 @@ void playlist_clear_selected(Playlist *playlist); GList *get_playlist_nth(Playlist *playlist, guint); -gboolean playlist_set_current_name(Playlist *playlist, const gchar * filename); + +gboolean playlist_set_current_name(Playlist *playlist, const gchar * title); const gchar *playlist_get_current_name(Playlist *playlist); + +gboolean playlist_filename_set(Playlist *playlist, const gchar * filename); +gchar *playlist_filename_get(Playlist *playlist); + Playlist *playlist_new(void); void playlist_free(Playlist *playlist); Playlist *playlist_new_from_selected(void);