Client: rename the struct client to class Client

This commit is contained in:
Max Kellermann
2013-01-03 17:27:26 +01:00
parent f2510d60fa
commit 7a982169c9
63 changed files with 401 additions and 379 deletions

View File

@@ -38,7 +38,7 @@ extern "C" {
* @param end the index of the last song (excluding)
*/
static void
queue_print_song_info(struct client *client, const struct queue *queue,
queue_print_song_info(Client *client, const struct queue *queue,
unsigned position)
{
song_print_info(client, queue_get(queue, position));
@@ -51,7 +51,7 @@ queue_print_song_info(struct client *client, const struct queue *queue,
}
void
queue_print_info(struct client *client, const struct queue *queue,
queue_print_info(Client *client, const struct queue *queue,
unsigned start, unsigned end)
{
assert(start <= end);
@@ -62,7 +62,7 @@ queue_print_info(struct client *client, const struct queue *queue,
}
void
queue_print_uris(struct client *client, const struct queue *queue,
queue_print_uris(Client *client, const struct queue *queue,
unsigned start, unsigned end)
{
assert(start <= end);
@@ -75,7 +75,7 @@ queue_print_uris(struct client *client, const struct queue *queue,
}
void
queue_print_changes_info(struct client *client, const struct queue *queue,
queue_print_changes_info(Client *client, const struct queue *queue,
uint32_t version)
{
for (unsigned i = 0; i < queue_length(queue); i++) {
@@ -85,7 +85,7 @@ queue_print_changes_info(struct client *client, const struct queue *queue,
}
void
queue_print_changes_position(struct client *client, const struct queue *queue,
queue_print_changes_position(Client *client, const struct queue *queue,
uint32_t version)
{
for (unsigned i = 0; i < queue_length(queue); i++)
@@ -95,7 +95,7 @@ queue_print_changes_position(struct client *client, const struct queue *queue,
}
void
queue_find(struct client *client, const struct queue *queue,
queue_find(Client *client, const struct queue *queue,
const SongFilter &filter)
{
for (unsigned i = 0; i < queue_length(queue); i++) {