aboutsummaryrefslogtreecommitdiffstats
path: root/src/Partition.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Partition.hxx')
-rw-r--r--src/Partition.hxx4
1 files changed, 4 insertions, 0 deletions
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);
}