aboutsummaryrefslogtreecommitdiff
path: root/src/DatabaseRegistry.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-05 22:53:46 +0200
committerMax Kellermann <max@duempel.org>2012-08-08 01:20:45 +0200
commit63a2ac21e1d8190448057fbf24d5ab948d3daff8 (patch)
treed7e8620ebdb73a10228dd4ae1091821c77c02a2c /src/DatabaseRegistry.cxx
parentc42b20629265a953ecced484a29d7208bcff367b (diff)
ProxyDatabasePlugin: new database plugin using libmpdclient
Implementation incomplete, but sort-of-works. DumpDatabase works, but MPD is still hard-coded on the "simple" plugin.
Diffstat (limited to 'src/DatabaseRegistry.cxx')
-rw-r--r--src/DatabaseRegistry.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/DatabaseRegistry.cxx b/src/DatabaseRegistry.cxx
index c9189f73..cf01decd 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 <string.h>
const DatabasePlugin *const database_plugins[] = {
&simple_db_plugin,
+#ifdef HAVE_LIBMPDCLIENT
+ &proxy_db_plugin,
+#endif
NULL
};