diff options
author | Max Kellermann <max@duempel.org> | 2014-01-30 20:29:48 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-30 20:39:40 +0100 |
commit | 4465e2c46bbed438377dc4a99df333bd5c058d5e (patch) | |
tree | cbc1d27aad939689f44b0ac3542a6ca1777b9dc1 /src/Partition.hxx | |
parent | 34b309b99aa2f274308f19974c428e1c7ac5d66f (diff) | |
download | mpd-4465e2c46bbed438377dc4a99df333bd5c058d5e.tar.gz mpd-4465e2c46bbed438377dc4a99df333bd5c058d5e.tar.xz mpd-4465e2c46bbed438377dc4a99df333bd5c058d5e.zip |
db: add compile-time option to disable database
Diffstat (limited to 'src/Partition.hxx')
-rw-r--r-- | src/Partition.hxx | 4 |
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); } |