aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabasePlugin.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DatabasePlugin.hxx')
-rw-r--r--src/DatabasePlugin.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/DatabasePlugin.hxx b/src/DatabasePlugin.hxx
index ccf899389..3af44d7dd 100644
--- a/src/DatabasePlugin.hxx
+++ b/src/DatabasePlugin.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2013 The Music Player Daemon Project
+ * Copyright (C) 2003-2014 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -37,6 +37,8 @@ struct DatabaseSelection;
struct db_visitor;
struct Song;
class Error;
+class EventLoop;
+class DatabaseListener;
struct DatabaseStats {
/**
@@ -149,7 +151,8 @@ struct DatabasePlugin {
/**
* Allocates and configures a database.
*/
- Database *(*create)(const config_param &param,
+ Database *(*create)(EventLoop &loop, DatabaseListener &listener,
+ const config_param &param,
Error &error);
};