aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 10:59:56 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 10:59:56 +0100
commitd360f17a59fe6ed52ffa74c48c63164cf203d1e0 (patch)
treedea0df6cb96909f083f89e4d89a48ee82aef9f13 /src/ClientInternal.hxx
parenta6ee6be9602f64599b40e01321bd771b17d94f39 (diff)
downloadmpd-d360f17a59fe6ed52ffa74c48c63164cf203d1e0.tar.gz
mpd-d360f17a59fe6ed52ffa74c48c63164cf203d1e0.tar.xz
mpd-d360f17a59fe6ed52ffa74c48c63164cf203d1e0.zip
Client: add Partition reference attribute
playlist and player_control are deprecated.
Diffstat (limited to '')
-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();