diff options
author | Max Kellermann <max@duempel.org> | 2013-10-21 23:40:52 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-21 23:40:52 +0200 |
commit | 1e2cda923970057cfab700422ec27f94e7458c25 (patch) | |
tree | 9ff3a122134aed70fbd3208c6e34ef678f5991bc /src/Partition.hxx | |
parent | 20cba9e89f80d788a1cc65473865f52de94ea451 (diff) | |
download | mpd-1e2cda923970057cfab700422ec27f94e7458c25.tar.gz mpd-1e2cda923970057cfab700422ec27f94e7458c25.tar.xz mpd-1e2cda923970057cfab700422ec27f94e7458c25.zip |
Partition: add methods TagModified(), SyncWithPlayer()
Move code from class Instance.
Diffstat (limited to '')
-rw-r--r-- | src/Partition.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Partition.hxx b/src/Partition.hxx index f6315eade..23c5745ec 100644 --- a/src/Partition.hxx +++ b/src/Partition.hxx @@ -165,6 +165,17 @@ struct Partition { void SetConsume(bool new_value) { playlist.SetConsume(new_value); } + + /** + * A tag in the play queue has been modified. Propagate the + * change to all subsystems. + */ + void TagModified(); + + /** + * Synchronize the player with the play queue. + */ + void SyncWithPlayer(); }; #endif |