From 63a2ac21e1d8190448057fbf24d5ab948d3daff8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 5 Sep 2011 22:53:46 +0200 Subject: ProxyDatabasePlugin: new database plugin using libmpdclient Implementation incomplete, but sort-of-works. DumpDatabase works, but MPD is still hard-coded on the "simple" plugin. --- src/DatabaseRegistry.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/DatabaseRegistry.cxx') diff --git a/src/DatabaseRegistry.cxx b/src/DatabaseRegistry.cxx index c9189f733..cf01decdd 100644 --- a/src/DatabaseRegistry.cxx +++ b/src/DatabaseRegistry.cxx @@ -17,13 +17,18 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "config.h" #include "DatabaseRegistry.hxx" #include "db/SimpleDatabasePlugin.hxx" +#include "db/ProxyDatabasePlugin.hxx" #include const DatabasePlugin *const database_plugins[] = { &simple_db_plugin, +#ifdef HAVE_LIBMPDCLIENT + &proxy_db_plugin, +#endif NULL }; -- cgit v1.2.3