MPD 0.20.6

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

QueuePrint.hxx
Go to the documentation of this file.
1 /*
2 * Copyright 2003-2017 The Music Player Daemon Project
3 * http://www.musicpd.org
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20 /*
21 * This library sends information about songs in the queue to the
22 * client.
23 */
24
25 #ifndef MPD_QUEUE_PRINT_HXX
26 #define MPD_QUEUE_PRINT_HXX
27
28 #include <stdint.h>
29
30 struct Queue;
31 struct Partition;
32 class SongFilter;
33 class Response;
34
35 void
36 queue_print_info(Response &r, Partition &partition, const Queue &queue,
37 unsigned start, unsigned end);
38
39 void
40 queue_print_uris(Response &r, Partition &partition, const Queue &queue,
41 unsigned start, unsigned end);
42
43 void
44 queue_print_changes_info(Response &r, Partition &partition, const Queue &queue,
45 uint32_t version,
46 unsigned start, unsigned end);
47
48 void
49 queue_print_changes_position(Response &r, const Queue &queue,
50 uint32_t version,
51 unsigned start, unsigned end);
52
53 void
54 queue_find(Response &response, Partition &partition, const Queue &queue,
55 const SongFilter &filter);
56
57 #endif
Response
Definition: Response.hxx:31
queue_print_changes_position
void queue_print_changes_position(Response &r, const Queue &queue, uint32_t version, unsigned start, unsigned end)
queue_print_uris
void queue_print_uris(Response &r, Partition &partition, const Queue &queue, unsigned start, unsigned end)
Partition
A partition of the Music Player Daemon.
Definition: Partition.hxx:42
filter
const Partition const char const SongFilter * filter
Definition: Count.hxx:34
Queue
A queue of songs.
Definition: Queue.hxx:44
SongFilter
Definition: SongFilter.hxx:46
queue_print_changes_info
void queue_print_changes_info(Response &r, Partition &partition, const Queue &queue, uint32_t version, unsigned start, unsigned end)
queue_print_info
void queue_print_info(Response &r, Partition &partition, const Queue &queue, unsigned start, unsigned end)
partition
const Partition & partition
Definition: Count.hxx:34
queue_find
void queue_find(Response &response, Partition &partition, const Queue &queue, const SongFilter &filter)