diff options
author | Max Kellermann <max@duempel.org> | 2013-01-04 22:42:05 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-05 02:43:00 +0100 |
commit | d536944beb783ec098aa6215fc94d8e60cfd310d (patch) | |
tree | b86702e5d0142cfe3c8bb22a9a4f8ea2034cb51b /src/UpdateGlue.cxx | |
parent | 1a8ef3cdab39234e91fe9d91dad2ae004e4537dc (diff) |
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.
Diffstat (limited to 'src/UpdateGlue.cxx')
-rw-r--r-- | src/UpdateGlue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 <glib.h> @@ -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); } |