aboutsummaryrefslogtreecommitdiffstats
path: root/src/QueuePrint.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/QueuePrint.hxx (renamed from src/queue_print.h)26
1 files changed, 11 insertions, 15 deletions
diff --git a/src/queue_print.h b/src/QueuePrint.hxx
index 371e20416..6b3a29fb6 100644
--- a/src/queue_print.h
+++ b/src/QueuePrint.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2012 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -22,37 +22,33 @@
* client.
*/
-#ifndef QUEUE_PRINT_H
-#define QUEUE_PRINT_H
+#ifndef MPD_QUEUE_PRINT_HXX
+#define MPD_QUEUE_PRINT_HXX
#include <stdint.h>
-struct client;
struct queue;
-struct locate_item_list;
+class SongFilter;
+class Client;
void
-queue_print_info(struct client *client, const struct queue *queue,
+queue_print_info(Client *client, const struct queue *queue,
unsigned start, unsigned end);
void
-queue_print_uris(struct client *client, const struct queue *queue,
+queue_print_uris(Client *client, const struct queue *queue,
unsigned start, unsigned end);
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);
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);
void
-queue_search(struct client *client, const struct queue *queue,
- const struct locate_item_list *criteria);
-
-void
-queue_find(struct client *client, const struct queue *queue,
- const struct locate_item_list *criteria);
+queue_find(Client *client, const struct queue *queue,
+ const SongFilter &filter);
#endif