diff options
author | Max Kellermann <max@duempel.org> | 2015-08-13 12:48:31 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-08-13 12:48:31 +0200 |
commit | 86e036c3933def22b6ff0eae5bcf9cd7103240e7 (patch) | |
tree | e8d812461e22b189cea3b3df908515cebbfe0cd1 /src/command/OtherCommands.hxx | |
parent | 7652a2986b0d0ad55b2776685130f1c68d7108c7 (diff) | |
download | mpd-86e036c3933def22b6ff0eae5bcf9cd7103240e7.tar.gz mpd-86e036c3933def22b6ff0eae5bcf9cd7103240e7.tar.xz mpd-86e036c3933def22b6ff0eae5bcf9cd7103240e7.zip |
command: pass Response object to command callbacks
Diffstat (limited to 'src/command/OtherCommands.hxx')
-rw-r--r-- | src/command/OtherCommands.hxx | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/src/command/OtherCommands.hxx b/src/command/OtherCommands.hxx index bcc1224e4..2a918df97 100644 --- a/src/command/OtherCommands.hxx +++ b/src/command/OtherCommands.hxx @@ -24,53 +24,54 @@ class Client; class Request; +class Response; CommandResult -handle_urlhandlers(Client &client, Request args); +handle_urlhandlers(Client &client, Request request, Response &response); CommandResult -handle_decoders(Client &client, Request args); +handle_decoders(Client &client, Request request, Response &response); CommandResult -handle_tagtypes(Client &client, Request args); +handle_tagtypes(Client &client, Request request, Response &response); CommandResult -handle_kill(Client &client, Request args); +handle_kill(Client &client, Request request, Response &response); CommandResult -handle_close(Client &client, Request args); +handle_close(Client &client, Request request, Response &response); CommandResult -handle_listfiles(Client &client, Request args); +handle_listfiles(Client &client, Request request, Response &response); CommandResult -handle_lsinfo(Client &client, Request args); +handle_lsinfo(Client &client, Request request, Response &response); CommandResult -handle_update(Client &client, Request args); +handle_update(Client &client, Request request, Response &response); CommandResult -handle_rescan(Client &client, Request args); +handle_rescan(Client &client, Request request, Response &response); CommandResult -handle_setvol(Client &client, Request args); +handle_setvol(Client &client, Request request, Response &response); CommandResult -handle_volume(Client &client, Request args); +handle_volume(Client &client, Request request, Response &response); CommandResult -handle_stats(Client &client, Request args); +handle_stats(Client &client, Request request, Response &response); CommandResult -handle_ping(Client &client, Request args); +handle_ping(Client &client, Request request, Response &response); CommandResult -handle_password(Client &client, Request args); +handle_password(Client &client, Request request, Response &response); CommandResult -handle_config(Client &client, Request args); +handle_config(Client &client, Request request, Response &response); CommandResult -handle_idle(Client &client, Request args); +handle_idle(Client &client, Request request, Response &response); #endif |