From a6fb6a0289ea47692d87f3e0200532a426f8e60d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 28 Jul 2008 21:56:03 +0000 Subject: Simply global memory management crap by using shared_ptr in the World struct (it's not C anyway, might as well). Properly support LV2 events from plugin UIs over OSC and directly (w/ monolithic UI/engine). Fix crashes on node destruction with monolithic UI/engine. Resolves ticket #177. git-svn-id: http://svn.drobilla.net/lad/ingen@1293 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/EventBuffer.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libs/engine/EventBuffer.hpp') diff --git a/src/libs/engine/EventBuffer.hpp b/src/libs/engine/EventBuffer.hpp index 148b5420..20fde057 100644 --- a/src/libs/engine/EventBuffer.hpp +++ b/src/libs/engine/EventBuffer.hpp @@ -83,6 +83,8 @@ public: uint16_t size, const uint8_t* data); + bool append(const LV2_Event_Buffer* buf); + bool merge(const EventBuffer& a, const EventBuffer& b); private: -- cgit v1.2.1