From aef939ff10362285ce1ebd872518627e524917bc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 19 Feb 2015 09:44:41 +0000 Subject: Server side presets. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5587 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/events/Delta.hpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/server/events/Delta.hpp') diff --git a/src/server/events/Delta.hpp b/src/server/events/Delta.hpp index 43edacbf..750411ff 100644 --- a/src/server/events/Delta.hpp +++ b/src/server/events/Delta.hpp @@ -19,6 +19,8 @@ #include +#include "lilv/lilv.h" + #include "raul/URI.hpp" #include "ControlBindings.hpp" @@ -87,6 +89,11 @@ public: ~Delta(); + void add_set_event(const char* port_symbol, + const void* value, + uint32_t size, + uint32_t type); + bool pre_process(); void execute(ProcessContext& context); void post_process(); @@ -98,7 +105,8 @@ private: ENABLE_BROADCAST, POLYPHONY, POLYPHONIC, - CONTROL_BINDING + CONTROL_BINDING, + PRESET }; typedef std::vector SetEvents; @@ -113,6 +121,7 @@ private: Ingen::Resource* _object; GraphImpl* _graph; CompiledGraph* _compiled_graph; + LilvState* _state; Resource::Graph _context; ControlBindings::Key _binding; Type _type; -- cgit v1.2.1