client/Response: new Client wrapper class for writing responses
This commit is contained in:
@@ -23,16 +23,16 @@
|
||||
#include "CommandResult.hxx"
|
||||
#include "PlaylistError.hxx"
|
||||
|
||||
class Client;
|
||||
class Response;
|
||||
class Error;
|
||||
|
||||
CommandResult
|
||||
print_playlist_result(Client &client, PlaylistResult result);
|
||||
print_playlist_result(Response &r, PlaylistResult result);
|
||||
|
||||
/**
|
||||
* Send the #Error to the client.
|
||||
*/
|
||||
CommandResult
|
||||
print_error(Client &client, const Error &error);
|
||||
print_error(Response &r, const Error &error);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user