From d360f17a59fe6ed52ffa74c48c63164cf203d1e0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 7 Jan 2013 10:59:56 +0100 Subject: Client: add Partition reference attribute playlist and player_control are deprecated. --- src/ClientInternal.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/ClientInternal.hxx') 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 messages; - Client(struct playlist &playlist, - struct player_control *player_control, + Client(Partition &partition, int fd, int uid, int num); ~Client(); -- cgit v1.2.3