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/UpdateGlue.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/UpdateGlue.cxx') diff --git a/src/UpdateGlue.cxx b/src/UpdateGlue.cxx index cb1600d4f..2edd19cc2 100644 --- a/src/UpdateGlue.cxx +++ b/src/UpdateGlue.cxx @@ -24,7 +24,6 @@ #include "UpdateRemove.hxx" #include "Mapper.hxx" #include "DatabaseSimple.hxx" -#include "Playlist.hxx" extern "C" { #include "event_pipe.h" @@ -33,6 +32,7 @@ extern "C" { } #include "Main.hxx" +#include "Partition.hxx" #include "mpd_error.h" #include @@ -155,7 +155,7 @@ static void update_finished_event(void) if (modified) { /* send "idle" events */ - playlist_increment_version_all(&g_playlist); + playlist_increment_version_all(&global_partition->playlist); idle_add(IDLE_DATABASE); } -- cgit v1.2.3