aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongPrint.cxx
diff options
context:
space:
mode:
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);