From 4465e2c46bbed438377dc4a99df333bd5c058d5e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 30 Jan 2014 20:29:48 +0100 Subject: db: add compile-time option to disable database --- src/Partition.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Partition.hxx') diff --git a/src/Partition.hxx b/src/Partition.hxx index 3ee110654..5e2469504 100644 --- a/src/Partition.hxx +++ b/src/Partition.hxx @@ -79,10 +79,14 @@ struct Partition { return playlist.DeleteRange(pc, start, end); } +#ifdef ENABLE_DATABASE + void DeleteSong(const char *uri) { playlist.DeleteSong(pc, uri); } +#endif + void Shuffle(unsigned start, unsigned end) { playlist.Shuffle(pc, start, end); } -- cgit v1.2.3