From 86e036c3933def22b6ff0eae5bcf9cd7103240e7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 13 Aug 2015 12:48:31 +0200 Subject: command: pass Response object to command callbacks --- src/command/FileCommands.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/command/FileCommands.hxx') diff --git a/src/command/FileCommands.hxx b/src/command/FileCommands.hxx index 9812fd362..c072d2028 100644 --- a/src/command/FileCommands.hxx +++ b/src/command/FileCommands.hxx @@ -24,11 +24,13 @@ class Client; class Request; +class Response; CommandResult -handle_listfiles_local(Client &client, const char *path_utf8); +handle_listfiles_local(Client &client, Response &response, + const char *path_utf8); CommandResult -handle_read_comments(Client &client, Request args); +handle_read_comments(Client &client, Request request, Response &response); #endif -- cgit v1.2.3