Partition: add methods TagModified(), SyncWithPlayer()
Move code from class Instance.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user