From 9d3c14830b71ca62a2ec3b8de4368fcff20bb9cf Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 23 Jan 2009 00:06:53 +0100 Subject: playlist: documented struct members Added several comments. --- src/playlist.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src') diff --git a/src/playlist.h b/src/playlist.h index 443f4222d..330eba6ea 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -44,9 +44,22 @@ enum playlist_result { }; typedef struct _Playlist { + /** + * The song queue - it contains the "real" playlist. + */ struct queue queue; + /** + * The "current song pointer". This is the song which is + * played when we get the "play" command. It is also the song + * which is currently being played. + */ int current; + + /** + * The "next" song to be played, when the current one + * finishes. + */ int queued; } Playlist; -- cgit v1.2.3