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/MessageCommands.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 '')
-rw-r--r-- | src/command/MessageCommands.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/command/MessageCommands.hxx b/src/command/MessageCommands.hxx index 99106457b..986c7cf6a 100644 --- a/src/command/MessageCommands.hxx +++ b/src/command/MessageCommands.hxx @@ -24,20 +24,21 @@ class Client; class Request; +class Response; CommandResult -handle_subscribe(Client &client, Request args); +handle_subscribe(Client &client, Request request, Response &response); CommandResult -handle_unsubscribe(Client &client, Request args); +handle_unsubscribe(Client &client, Request request, Response &response); CommandResult -handle_channels(Client &client, Request args); +handle_channels(Client &client, Request request, Response &response); CommandResult -handle_read_messages(Client &client, Request args); +handle_read_messages(Client &client, Request request, Response &response); CommandResult -handle_send_message(Client &client, Request args); +handle_send_message(Client &client, Request request, Response &response); #endif |