aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientInternal.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClientInternal.hxx')
-rw-r--r--src/ClientInternal.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ClientInternal.hxx b/src/ClientInternal.hxx
index 6f3035671..9d508fa11 100644
--- a/src/ClientInternal.hxx
+++ b/src/ClientInternal.hxx
@@ -44,8 +44,11 @@ struct deferred_buffer {
char data[sizeof(long)];
};
+struct Partition;
+
class Client {
public:
+ Partition &partition;
struct playlist &playlist;
struct player_control *player_control;
@@ -100,8 +103,7 @@ public:
*/
std::list<ClientMessage> messages;
- Client(struct playlist &playlist,
- struct player_control *player_control,
+ Client(Partition &partition,
int fd, int uid, int num);
~Client();