summaryrefslogtreecommitdiff
path: root/src/SongPrint.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-07-28 13:25:12 +0200
committerMax Kellermann <max@duempel.org>2013-07-28 13:25:12 +0200
commitba161ec572b98d3bcf9f735ff122133319fe896a (patch)
treea211690e3a8b7fce1fb6db540228122bead1f2bc /src/SongPrint.cxx
parent43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708 (diff)
song: convert header to C++
Diffstat (limited to 'src/SongPrint.cxx')
-rw-r--r--src/SongPrint.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SongPrint.cxx b/src/SongPrint.cxx
index 331f3912d..b6b66e1f6 100644
--- a/src/SongPrint.cxx
+++ b/src/SongPrint.cxx
@@ -19,7 +19,7 @@
#include "config.h"
#include "SongPrint.hxx"
-#include "song.h"
+#include "Song.hxx"
#include "Directory.hxx"
#include "TimePrint.hxx"
#include "TagPrint.hxx"
@@ -30,9 +30,9 @@
#include <glib.h>
void
-song_print_uri(Client *client, struct song *song)
+song_print_uri(Client *client, Song *song)
{
- if (song_in_database(song) && !song->parent->IsRoot()) {
+ if (song->IsInDatabase() && !song->parent->IsRoot()) {
client_printf(client, "%s%s/%s\n", SONG_FILE,
song->parent->GetPath(), song->uri);
} else {
@@ -51,7 +51,7 @@ song_print_uri(Client *client, struct song *song)
}
void
-song_print_info(Client *client, struct song *song)
+song_print_info(Client *client, Song *song)
{
song_print_uri(client, song);