Instance: move GlobalEvents::Monitor to Partition

All remaining events are specific to the Partition.
This commit is contained in:
Max Kellermann
2016-03-10 22:47:47 +01:00
parent e2bc92d128
commit 483daa5882
4 changed files with 12 additions and 10 deletions

View File

@@ -20,6 +20,7 @@
#ifndef MPD_PARTITION_HXX
#define MPD_PARTITION_HXX
#include "GlobalEvents.hxx"
#include "queue/Playlist.hxx"
#include "queue/Listener.hxx"
#include "output/MultipleOutputs.hxx"
@@ -40,6 +41,8 @@ class SongLoader;
struct Partition final : QueueListener, PlayerListener, MixerListener {
Instance &instance;
GlobalEvents::Monitor global_events;
struct playlist playlist;
MultipleOutputs outputs;