aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-23 00:06:53 +0100
committerMax Kellermann <max@duempel.org>2009-01-23 00:06:53 +0100
commit9d3c14830b71ca62a2ec3b8de4368fcff20bb9cf (patch)
tree7e8f6ccc298f7fa8fc5348ce6cc66bb68c5d921e
parentaa9ffcd04d3100627a147f015919976681627627 (diff)
downloadmpd-9d3c14830b71ca62a2ec3b8de4368fcff20bb9cf.tar.gz
mpd-9d3c14830b71ca62a2ec3b8de4368fcff20bb9cf.tar.xz
mpd-9d3c14830b71ca62a2ec3b8de4368fcff20bb9cf.zip
playlist: documented struct members
Added several comments.
-rw-r--r--src/playlist.h13
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;