aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistVector.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 22:01:04 +0100
committerMax Kellermann <max@duempel.org>2013-01-02 22:01:04 +0100
commit98dbdf72b3c35878494df4954a447cec250a835d (patch)
tree338c759e3f79acadb757ce9e13f1cd3c224c454d /src/PlaylistVector.hxx
parent51a2d09eb7fd8bc22a25e151878e6809b58bc21f (diff)
downloadmpd-98dbdf72b3c35878494df4954a447cec250a835d.tar.gz
mpd-98dbdf72b3c35878494df4954a447cec250a835d.tar.xz
mpd-98dbdf72b3c35878494df4954a447cec250a835d.zip
PlaylistVector: move struct playlist_metadata to PlaylistInfo.hxx
Diffstat (limited to 'src/PlaylistVector.hxx')
-rw-r--r--src/PlaylistVector.hxx16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/PlaylistVector.hxx b/src/PlaylistVector.hxx
index 00347ffdb..30418131a 100644
--- a/src/PlaylistVector.hxx
+++ b/src/PlaylistVector.hxx
@@ -20,9 +20,9 @@
#ifndef MPD_PLAYLIST_VECTOR_HXX
#define MPD_PLAYLIST_VECTOR_HXX
+#include "PlaylistInfo.hxx"
#include "util/list.h"
-#include <stddef.h>
#include <sys/time.h>
#define playlist_vector_for_each(pos, head) \
@@ -31,20 +31,6 @@
#define playlist_vector_for_each_safe(pos, n, head) \
list_for_each_entry_safe(pos, n, head, siblings)
-/**
- * A directory entry pointing to a playlist file.
- */
-struct playlist_metadata {
- struct list_head siblings;
-
- /**
- * The UTF-8 encoded name of the playlist file.
- */
- char *name;
-
- time_t mtime;
-};
-
void
playlist_vector_deinit(struct list_head *pv);