Partition: add methods TagModified(), SyncWithPlayer()

Move code from class Instance.
This commit is contained in:
Max Kellermann
2013-10-21 23:40:52 +02:00
parent 20cba9e89f
commit 1e2cda9239
4 changed files with 47 additions and 3 deletions

View File

@@ -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