song: convert header to C++
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user