diff options
author | Max Kellermann <max@duempel.org> | 2009-01-23 00:06:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-23 00:06:53 +0100 |
commit | 9d3c14830b71ca62a2ec3b8de4368fcff20bb9cf (patch) | |
tree | 7e8f6ccc298f7fa8fc5348ce6cc66bb68c5d921e /src | |
parent | aa9ffcd04d3100627a147f015919976681627627 (diff) | |
download | mpd-9d3c14830b71ca62a2ec3b8de4368fcff20bb9cf.tar.gz mpd-9d3c14830b71ca62a2ec3b8de4368fcff20bb9cf.tar.xz mpd-9d3c14830b71ca62a2ec3b8de4368fcff20bb9cf.zip |
playlist: documented struct members
Added several comments.
Diffstat (limited to 'src')
-rw-r--r-- | src/playlist.h | 13 |
1 files changed, 13 insertions, 0 deletions
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; |