From ba161ec572b98d3bcf9f735ff122133319fe896a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 28 Jul 2013 13:25:12 +0200 Subject: song: convert header to C++ --- src/SongPrint.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/SongPrint.cxx') 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 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); -- cgit v1.2.3