aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistState.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 19:52:57 +0100
committerMax Kellermann <max@duempel.org>2013-01-02 20:22:59 +0100
commitb715e522cff7109c370e66d29ba22340c9259c52 (patch)
treeabda37d8d414592c59f8f875a3b1b439c5d81725 /src/PlaylistState.cxx
parent4b0b8315a918be5ad92d5aeb0c7df6d28966b951 (diff)
downloadmpd-b715e522cff7109c370e66d29ba22340c9259c52.tar.gz
mpd-b715e522cff7109c370e66d29ba22340c9259c52.tar.xz
mpd-b715e522cff7109c370e66d29ba22340c9259c52.zip
db_save, state_file: convert to C++
Diffstat (limited to '')
-rw-r--r--src/PlaylistState.cxx (renamed from src/playlist_state.c)8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/playlist_state.c b/src/PlaylistState.cxx
index 4aa2c2c92..0cfd32723 100644
--- a/src/playlist_state.c
+++ b/src/PlaylistState.cxx
@@ -23,13 +23,15 @@
*/
#include "config.h"
-#include "playlist_state.h"
+#include "PlaylistState.hxx"
+#include "QueueSave.hxx"
+
+extern "C" {
#include "playlist.h"
#include "player_control.h"
-#include "queue_save.h"
-#include "path.h"
#include "text_file.h"
#include "conf.h"
+}
#include <string.h>
#include <stdlib.h>