diff options
Diffstat (limited to '')
-rw-r--r-- | src/db/update/InotifyQueue.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/db/update/InotifyQueue.hxx b/src/db/update/InotifyQueue.hxx index 99e2635b1..a9abc2969 100644 --- a/src/db/update/InotifyQueue.hxx +++ b/src/db/update/InotifyQueue.hxx @@ -26,11 +26,16 @@ #include <list> #include <string> +class UpdateService; + class InotifyQueue final : private TimeoutMonitor { + UpdateService &update; + std::list<std::string> queue; public: - InotifyQueue(EventLoop &_loop):TimeoutMonitor(_loop) {} + InotifyQueue(EventLoop &_loop, UpdateService &_update) + :TimeoutMonitor(_loop), update(_update) {} void Enqueue(const char *uri_utf8); |