summaryrefslogtreecommitdiffstats
path: root/src/server/EventQueue.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/EventQueue.hpp')
-rw-r--r--src/server/EventQueue.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/EventQueue.hpp b/src/server/EventQueue.hpp
index e1adbd6b..a3567574 100644
--- a/src/server/EventQueue.hpp
+++ b/src/server/EventQueue.hpp
@@ -20,6 +20,7 @@
#include "raul/AtomicPtr.hpp"
#include "raul/Slave.hpp"
+#include "EventSink.hpp"
#include "EventSource.hpp"
namespace Ingen {
@@ -32,6 +33,7 @@ class ProcessContext;
/** An EventSource which prepares events in its own thread.
*/
class EventQueue : public EventSource
+ , public EventSink
, public Raul::Slave
{
public:
@@ -44,7 +46,7 @@ public:
inline bool empty() const { return !_head.get(); }
protected:
- void push_queued(Event* const ev);
+ void event(Event* ev);
virtual void _whipped(); ///< Prepare 1 event