diff options
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/EventSink.hpp | 5 | ||||
-rw-r--r-- | src/engine/MessageContext.hpp | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/engine/EventSink.hpp b/src/engine/EventSink.hpp index e0868f21..ffaa6240 100644 --- a/src/engine/EventSink.hpp +++ b/src/engine/EventSink.hpp @@ -42,15 +42,12 @@ class EventSink public: EventSink(Engine& engine, size_t capacity) : _engine(engine), _events(capacity) {} - /* FIXME: Figure out variable sized event queues and make this a generic - * interface (ie don't add a method for every event type, crap..) */ - bool write(uint32_t size, const Event* ev); bool read(uint32_t event_buffer_size, uint8_t* event_buffer); private: - Engine& _engine; + Engine& _engine; Raul::RingBuffer<uint8_t> _events; }; diff --git a/src/engine/MessageContext.hpp b/src/engine/MessageContext.hpp index 1e6e1d1f..6275f1d3 100644 --- a/src/engine/MessageContext.hpp +++ b/src/engine/MessageContext.hpp @@ -18,7 +18,6 @@ #ifndef MESSAGECONTEXT_H #define MESSAGECONTEXT_H -#include "EventSink.hpp" #include "Context.hpp" namespace Ingen { |