From 1e2cda923970057cfab700422ec27f94e7458c25 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 21 Oct 2013 23:40:52 +0200 Subject: Partition: add methods TagModified(), SyncWithPlayer() Move code from class Instance. --- src/Partition.hxx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/Partition.hxx') 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 -- cgit v1.2.3