diff options
Diffstat (limited to '')
-rw-r--r-- | src/ClientFile.hxx (renamed from src/client_file.h) | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/client_file.h b/src/ClientFile.hxx index bc64bd041..48e00c44f 100644 --- a/src/client_file.h +++ b/src/ClientFile.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2012 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -17,13 +17,14 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPD_CLIENT_FILE_H -#define MPD_CLIENT_FILE_H +#ifndef MPD_CLIENT_FILE_HXX +#define MPD_CLIENT_FILE_HXX + +#include "gerror.h" -#include <glib.h> #include <stdbool.h> -struct client; +class Client; /** * Is this client allowed to use the specified local file? @@ -36,7 +37,7 @@ struct client; * @return true if access is allowed */ bool -client_allow_file(const struct client *client, const char *path_fs, +client_allow_file(const Client *client, const char *path_fs, GError **error_r); #endif |