Partition: disable DatabaseModified() if not ENABLE_DATABASE

This commit is contained in:
Max Kellermann
2014-02-01 00:44:41 +01:00
parent e545679265
commit 1769ae54e4
3 changed files with 8 additions and 0 deletions

View File

@@ -173,11 +173,13 @@ struct Partition {
playlist.SetConsume(new_value);
}
#ifdef ENABLE_DATABASE
/**
* The database has been modified. Propagate the change to
* all subsystems.
*/
void DatabaseModified();
#endif
/**
* A tag in the play queue has been modified by the player