song: convert header to C++

This commit is contained in:
Max Kellermann
2013-07-28 13:25:12 +02:00
parent 43f613d9be
commit ba161ec572
91 changed files with 643 additions and 691 deletions

View File

@@ -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);