diff options
Diffstat (limited to 'src/db/plugins/simple/SimpleDatabasePlugin.hxx')
-rw-r--r-- | src/db/plugins/simple/SimpleDatabasePlugin.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/db/plugins/simple/SimpleDatabasePlugin.hxx b/src/db/plugins/simple/SimpleDatabasePlugin.hxx index e27b3d956..7ba71e272 100644 --- a/src/db/plugins/simple/SimpleDatabasePlugin.hxx +++ b/src/db/plugins/simple/SimpleDatabasePlugin.hxx @@ -20,6 +20,7 @@ #ifndef MPD_SIMPLE_DATABASE_PLUGIN_HXX #define MPD_SIMPLE_DATABASE_PLUGIN_HXX +#include "check.h" #include "db/Interface.hxx" #include "fs/AllocatedPath.hxx" #include "db/LightSong.hxx" @@ -38,6 +39,10 @@ class SimpleDatabase : public Database { AllocatedPath path; std::string path_utf8; +#ifdef HAVE_ZLIB + bool compress; +#endif + /** * The path where cache files for Mount() are located. */ @@ -64,7 +69,7 @@ class SimpleDatabase : public Database { SimpleDatabase(); - SimpleDatabase(AllocatedPath &&_path); + SimpleDatabase(AllocatedPath &&_path, bool _compress); public: static Database *Create(EventLoop &loop, DatabaseListener &listener, |