aboutsummaryrefslogtreecommitdiffstats
path: root/src/QueueSave.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/QueueSave.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/QueueSave.cxx (renamed from src/queue_save.c)11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/queue_save.c b/src/QueueSave.cxx
index 00b5ecbb1..96713c700 100644
--- a/src/queue_save.c
+++ b/src/QueueSave.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 "queue_save.h"
-#include "queue.h"
+#include "QueueSave.hxx"
#include "song.h"
+#include "SongSave.hxx"
+
+extern "C" {
+#include "queue.h"
#include "uri.h"
#include "database.h"
-#include "song_save.h"
#include "text_file.h"
+}
#include <stdlib.h>