summaryrefslogtreecommitdiffstats
path: root/src/engine/EventSink.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/EventSink.hpp')
-rw-r--r--src/engine/EventSink.hpp5
1 files changed, 1 insertions, 4 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;
};