summaryrefslogtreecommitdiff
path: root/src/db/DatabasePlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-08-24 19:45:23 +0200
committerMax Kellermann <max@musicpd.org>2017-08-24 19:45:23 +0200
commit7e76656a188436e20e0241f5a0e87696761936be (patch)
tree62926cdde3f52ce80e64c768f135d70ca7460113 /src/db/DatabasePlugin.hxx
parent0b93f52ba4f20acce927b56cfec7eef04884eaea (diff)
db/DatabasePlugin: add #EventLoop parameter documentation
Diffstat (limited to 'src/db/DatabasePlugin.hxx')
-rw-r--r--src/db/DatabasePlugin.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/db/DatabasePlugin.hxx b/src/db/DatabasePlugin.hxx
index 49df3222c..db486a0cb 100644
--- a/src/db/DatabasePlugin.hxx
+++ b/src/db/DatabasePlugin.hxx
@@ -46,8 +46,12 @@ struct DatabasePlugin {
* Allocates and configures a database.
*
* Throws #std::runtime_error on error.
+ *
+ * @param main_event_loop the #EventLoop running in the same
+ * thread which invokes #Database methods
*/
- Database *(*create)(EventLoop &loop, DatabaseListener &listener,
+ Database *(*create)(EventLoop &main_event_loop,
+ DatabaseListener &listener,
const ConfigBlock &block);
constexpr bool RequireStorage() const {