aboutsummaryrefslogtreecommitdiff
path: root/src/PlaylistCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 00:02:09 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 00:02:09 +0100
commit9d312ab208f797a69c8366f4a961d6cb3228cecb (patch)
treedb4f22c858684ab16f0a8010207b9fbf46119985 /src/PlaylistCommands.cxx
parent06be0a199722e945701d720fe40068c6de6c8f40 (diff)
PlaylistFile: reuse classes PlaylistInfo and PlaylistVector
.. instead of rolling own classes.
Diffstat (limited to 'src/PlaylistCommands.cxx')
-rw-r--r--src/PlaylistCommands.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PlaylistCommands.cxx b/src/PlaylistCommands.cxx
index a684e4a3..d2defff3 100644
--- a/src/PlaylistCommands.cxx
+++ b/src/PlaylistCommands.cxx
@@ -24,6 +24,7 @@
#include "PlaylistPrint.hxx"
#include "PlaylistSave.hxx"
#include "PlaylistFile.hxx"
+#include "PlaylistVector.hxx"
#include "PlaylistQueue.hxx"
#include "TimePrint.hxx"
#include "ClientInternal.hxx"
@@ -40,7 +41,7 @@ extern "C" {
#include <stdlib.h>
static void
-print_spl_list(Client *client, const PlaylistFileList &list)
+print_spl_list(Client *client, const PlaylistVector &list)
{
for (const auto &i : list) {
client_printf(client, "playlist: %s\n", i.name.c_str());