diff options
author | Max Kellermann <max@duempel.org> | 2013-04-17 22:58:33 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-04-17 23:52:58 +0200 |
commit | b2d3d15e978aef2566a1bdae435d71cb326dec4d (patch) | |
tree | 769550ce5e624915b9d3129793624583474604ba /src/PlaylistGlobal.cxx | |
parent | 08dfd263ba496b0c1f6ddbe9b3eefa9a5cea57a4 (diff) | |
download | mpd-b2d3d15e978aef2566a1bdae435d71cb326dec4d.tar.gz mpd-b2d3d15e978aef2566a1bdae435d71cb326dec4d.tar.xz mpd-b2d3d15e978aef2566a1bdae435d71cb326dec4d.zip |
Main: move global variables to struct Instance
More preparations for multi-player support.
Diffstat (limited to 'src/PlaylistGlobal.cxx')
-rw-r--r-- | src/PlaylistGlobal.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PlaylistGlobal.cxx b/src/PlaylistGlobal.cxx index 9dd971d3f..97902275b 100644 --- a/src/PlaylistGlobal.cxx +++ b/src/PlaylistGlobal.cxx @@ -26,19 +26,19 @@ #include "PlaylistGlobal.hxx" #include "Playlist.hxx" #include "Main.hxx" -#include "Partition.hxx" +#include "Instance.hxx" #include "GlobalEvents.hxx" static void playlist_tag_event(void) { - global_partition->playlist.TagChanged(); + instance->TagModified(); } static void playlist_event(void) { - global_partition->playlist.SyncWithPlayer(global_partition->pc); + instance->SyncWithPlayer(); } void |