summaryrefslogtreecommitdiff
path: root/src/Partition.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-21 23:40:52 +0200
committerMax Kellermann <max@duempel.org>2013-10-21 23:40:52 +0200
commit1e2cda923970057cfab700422ec27f94e7458c25 (patch)
tree9ff3a122134aed70fbd3208c6e34ef678f5991bc /src/Partition.hxx
parent20cba9e89f80d788a1cc65473865f52de94ea451 (diff)
Partition: add methods TagModified(), SyncWithPlayer()
Move code from class Instance.
Diffstat (limited to 'src/Partition.hxx')
-rw-r--r--src/Partition.hxx11
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