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

@@ -26,7 +26,7 @@
#include "Client.hxx"
extern "C" {
#include "song.h"
#include "Song.hxx"
}
/**
@@ -99,7 +99,7 @@ queue_find(Client *client, const struct queue *queue,
const SongFilter &filter)
{
for (unsigned i = 0; i < queue->GetLength(); i++) {
const struct song *song = queue->Get(i);
const Song *song = queue->Get(i);
if (filter.Match(*song))
queue_print_song_info(client, queue, i);