aboutsummaryrefslogtreecommitdiff
path: root/src/UpdateGlue.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 22:42:05 +0100
committerMax Kellermann <max@duempel.org>2013-01-05 02:43:00 +0100
commitd536944beb783ec098aa6215fc94d8e60cfd310d (patch)
treeb86702e5d0142cfe3c8bb22a9a4f8ea2034cb51b /src/UpdateGlue.cxx
parent1a8ef3cdab39234e91fe9d91dad2ae004e4537dc (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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UpdateGlue.cxx b/src/UpdateGlue.cxx
index cb1600d4..2edd19cc 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);
}