MPD  0.20.15
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
37  unsigned start, unsigned end);
38 
39 void
41  unsigned start, unsigned end);
42 
43 void
45  uint32_t version,
46  unsigned start, unsigned end);
47 
48 void
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
void queue_print_changes_position(Response &r, const Queue &queue, uint32_t version, unsigned start, unsigned end)
void queue_print_uris(Response &r, Partition &partition, const Queue &queue, unsigned start, unsigned end)
A partition of the Music Player Daemon.
Definition: Partition.hxx:42
const Partition const char const SongFilter * filter
Definition: Count.hxx:34
A queue of songs.
Definition: Queue.hxx:44
void queue_print_changes_info(Response &r, Partition &partition, const Queue &queue, uint32_t version, unsigned start, unsigned end)
void queue_print_info(Response &r, Partition &partition, const Queue &queue, unsigned start, unsigned end)
const Partition & partition
Definition: Count.hxx:34
void queue_find(Response &response, Partition &partition, const Queue &queue, const SongFilter &filter)