summaryrefslogtreecommitdiffstats
path: root/src/server/Worker.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Worker.hpp')
-rw-r--r--src/server/Worker.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server/Worker.hpp b/src/server/Worker.hpp
index 25300502..0310de90 100644
--- a/src/server/Worker.hpp
+++ b/src/server/Worker.hpp
@@ -24,6 +24,9 @@
#include "raul/Thread.hpp"
namespace Ingen {
+
+class Log;
+
namespace Server {
class LV2Node;
@@ -31,7 +34,7 @@ class LV2Node;
class Worker : public Raul::Thread
{
public:
- Worker(uint32_t buffer_size);
+ Worker(Log& log, uint32_t buffer_size);
~Worker();
struct Schedule : public LV2Features::Feature {
@@ -47,6 +50,7 @@ public:
private:
SharedPtr<Schedule> _schedule;
+ Log& _log;
Raul::Semaphore _sem;
Raul::RingBuffer _requests;
Raul::RingBuffer _responses;