aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistSong.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/PlaylistSong.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/PlaylistSong.cxx (renamed from src/playlist_song.c)7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/playlist_song.c b/src/PlaylistSong.cxx
index 2e2870d38..03bf5b703 100644
--- a/src/playlist_song.c
+++ b/src/PlaylistSong.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,7 +18,9 @@
*/
#include "config.h"
-#include "playlist_song.h"
+#include "PlaylistSong.hxx"
+
+extern "C" {
#include "database.h"
#include "mapper.h"
#include "song.h"
@@ -26,6 +28,7 @@
#include "path.h"
#include "ls.h"
#include "tag.h"
+}
#include <assert.h>
#include <string.h>