diff options
author | Max Kellermann <max@musicpd.org> | 2017-08-24 19:45:23 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-08-24 19:45:23 +0200 |
commit | 7e76656a188436e20e0241f5a0e87696761936be (patch) | |
tree | 62926cdde3f52ce80e64c768f135d70ca7460113 /src/db/DatabasePlugin.hxx | |
parent | 0b93f52ba4f20acce927b56cfec7eef04884eaea (diff) |
db/DatabasePlugin: add #EventLoop parameter documentation
Diffstat (limited to 'src/db/DatabasePlugin.hxx')
-rw-r--r-- | src/db/DatabasePlugin.hxx | 6 |
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 { |