aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongPrint.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 20:29:24 +0100
committerMax Kellermann <max@duempel.org>2013-01-02 20:29:24 +0100
commit3bbb5023871aaba48b6f503dd53d864f9a44c07d (patch)
treeef14110d995c212fe32a6e4814677a73ee1db9dc /src/SongPrint.cxx
parent0023dffd0bf8c5793e8e92b9eec9702a296ed8d2 (diff)
downloadmpd-3bbb5023871aaba48b6f503dd53d864f9a44c07d.tar.gz
mpd-3bbb5023871aaba48b6f503dd53d864f9a44c07d.tar.xz
mpd-3bbb5023871aaba48b6f503dd53d864f9a44c07d.zip
*_print: convert to C++
Diffstat (limited to '')
-rw-r--r--src/SongPrint.cxx (renamed from src/song_print.c)11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/song_print.c b/src/SongPrint.cxx
index d876b85a8..371952e86 100644
--- a/src/song_print.c
+++ b/src/SongPrint.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,14 +18,17 @@
*/
#include "config.h"
-#include "song_print.h"
-#include "time_print.h"
+#include "SongPrint.hxx"
#include "song.h"
#include "directory.h"
-#include "tag_print.h"
+#include "TimePrint.hxx"
+#include "TagPrint.hxx"
+
+extern "C" {
#include "client.h"
#include "uri.h"
#include "mapper.h"
+}
void
song_print_uri(struct client *client, struct song *song)