client/Response: new Client wrapper class for writing responses

This commit is contained in:
Max Kellermann
2015-08-06 22:10:25 +02:00
parent b1480167be
commit 7652a2986b
49 changed files with 1068 additions and 780 deletions

View File

@@ -22,18 +22,23 @@
struct LightSong;
class DetachedSong;
class Client;
class Response;
struct Partition;
void
song_print_info(Client &client, const DetachedSong &song, bool base=false);
song_print_info(Response &r, Partition &partition,
const DetachedSong &song, bool base=false);
void
song_print_info(Client &client, const LightSong &song, bool base=false);
song_print_info(Response &r, Partition &partition,
const LightSong &song, bool base=false);
void
song_print_uri(Client &client, const LightSong &song, bool base=false);
song_print_uri(Response &r, Partition &partition,
const LightSong &song, bool base=false);
void
song_print_uri(Client &client, const DetachedSong &song, bool base=false);
song_print_uri(Response &r, Partition &partition,
const DetachedSong &song, bool base=false);
#endif