summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-02-07 22:20:19 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-02-07 22:20:19 +0100
commitd7644e273f412f9e6fa5dff8d39daba1e8be5228 (patch)
tree0f3d2f8988bb13859684ecf784f092ec8c2c3789 /playlist.h
parented94b40b44f283b4ef8c22ee731b59c8faa6d22b (diff)
tabs for multiple playlists WIP
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/playlist.h b/playlist.h
index c168c4aa..b3ea7925 100644
--- a/playlist.h
+++ b/playlist.h
@@ -55,7 +55,7 @@ typedef struct playItem_s {
unsigned in_playlist : 1; // 1 if item is in playlist
} playItem_t;
-typedef struct playlist_s{
+typedef struct playlist_s {
char *title;
playItem_t *head[PL_MAX_ITERATORS]; // head of linked list
playItem_t *tail[PL_MAX_ITERATORS]; // tail of linked list
@@ -82,6 +82,9 @@ plt_set_curr (int plt);
int
plt_get_curr (void);
+const char *
+plt_get_title (int plt);
+
playlist_t *
plt_get_curr_ptr (void);