From a688745bdc6db32e2cb7765c5d113958dcd49411 Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Sun, 5 May 2013 15:42:29 +0600 Subject: ClientFile: use Path and file system API, update usages accordingly This commit also fixes incorrect passing of UTF-8 strings to client_allow_file --- src/ClientFile.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ClientFile.hxx') diff --git a/src/ClientFile.hxx b/src/ClientFile.hxx index 48e00c44f..c2ea25f51 100644 --- a/src/ClientFile.hxx +++ b/src/ClientFile.hxx @@ -25,6 +25,7 @@ #include class Client; +class Path; /** * Is this client allowed to use the specified local file? @@ -37,7 +38,7 @@ class Client; * @return true if access is allowed */ bool -client_allow_file(const Client *client, const char *path_fs, +client_allow_file(const Client *client, const Path &path_fs, GError **error_r); #endif -- cgit v1.2.3