aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistQueue.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 18:38:32 +0100
committerMax Kellermann <max@duempel.org>2013-01-02 19:19:58 +0100
commit67b46a151da4ca6f81fa63d30e2c629da352ec45 (patch)
tree8084b6d63b5c93167a9dde536415dc5aef3ab75e /src/PlaylistQueue.cxx
parent83c7e1e129b1250bc73bf75e9378dfbe242b09c7 (diff)
downloadmpd-67b46a151da4ca6f81fa63d30e2c629da352ec45.tar.gz
mpd-67b46a151da4ca6f81fa63d30e2c629da352ec45.tar.xz
mpd-67b46a151da4ca6f81fa63d30e2c629da352ec45.zip
playlist_{any,song,queue}: convert to C++
Diffstat (limited to '')
-rw-r--r--src/PlaylistQueue.cxx (renamed from src/playlist_queue.c)11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/playlist_queue.c b/src/PlaylistQueue.cxx
index 8eb535dbd..ad9739449 100644
--- a/src/playlist_queue.c
+++ b/src/PlaylistQueue.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -18,13 +18,16 @@
*/
#include "config.h"
-#include "playlist_queue.h"
+#include "PlaylistQueue.hxx"
#include "playlist_plugin.h"
-#include "playlist_any.h"
-#include "playlist_song.h"
+#include "PlaylistAny.hxx"
+#include "PlaylistSong.hxx"
+
+extern "C" {
#include "playlist.h"
#include "song.h"
#include "input_stream.h"
+}
enum playlist_result
playlist_load_into_queue(const char *uri, struct playlist_provider *source,