command: pass Response object to command callbacks
This commit is contained in:
@@ -24,65 +24,66 @@
|
||||
|
||||
class Client;
|
||||
class Request;
|
||||
class Response;
|
||||
|
||||
CommandResult
|
||||
handle_add(Client &client, Request args);
|
||||
handle_add(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_addid(Client &client, Request args);
|
||||
handle_addid(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_rangeid(Client &client, Request args);
|
||||
handle_rangeid(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_delete(Client &client, Request args);
|
||||
handle_delete(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_deleteid(Client &client, Request args);
|
||||
handle_deleteid(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_playlist(Client &client, Request args);
|
||||
handle_playlist(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_shuffle(Client &client, Request args);
|
||||
handle_shuffle(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_clear(Client &client, Request args);
|
||||
handle_clear(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_plchanges(Client &client, Request args);
|
||||
handle_plchanges(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_plchangesposid(Client &client, Request args);
|
||||
handle_plchangesposid(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_playlistinfo(Client &client, Request args);
|
||||
handle_playlistinfo(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_playlistid(Client &client, Request args);
|
||||
handle_playlistid(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_playlistfind(Client &client, Request args);
|
||||
handle_playlistfind(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_playlistsearch(Client &client, Request args);
|
||||
handle_playlistsearch(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_prio(Client &client, Request args);
|
||||
handle_prio(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_prioid(Client &client, Request args);
|
||||
handle_prioid(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_move(Client &client, Request args);
|
||||
handle_move(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_moveid(Client &client, Request args);
|
||||
handle_moveid(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_swap(Client &client, Request args);
|
||||
handle_swap(Client &client, Request request, Response &response);
|
||||
|
||||
CommandResult
|
||||
handle_swapid(Client &client, Request args);
|
||||
handle_swapid(Client &client, Request request, Response &response);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user