From d536944beb783ec098aa6215fc94d8e60cfd310d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 4 Jan 2013 22:42:05 +0100 Subject: Partition: new class, container for Playlist and PlayerControl This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process. --- src/Listen.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Listen.cxx') diff --git a/src/Listen.cxx b/src/Listen.cxx index 8741da9c2..3ea9bae9a 100644 --- a/src/Listen.cxx +++ b/src/Listen.cxx @@ -20,7 +20,7 @@ #include "config.h" #include "Listen.hxx" #include "Main.hxx" -#include "Playlist.hxx" +#include "Partition.hxx" #include "Client.hxx" extern "C" { @@ -47,7 +47,7 @@ static void listen_callback(int fd, const struct sockaddr *address, size_t address_length, int uid, G_GNUC_UNUSED void *ctx) { - client_new(g_playlist, global_player_control, + client_new(global_partition->playlist, &global_partition->pc, fd, address, address_length, uid); } -- cgit v1.2.3