From cc3359a6bea22c3d4584a5d57403e7d568e16fe7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 31 Jan 2014 23:58:48 +0000 Subject: Subscribe to ports before instantiating plugin UIs (fix #954). Respond to put/set/patch with the same type of event (not set=>delta). Don't feed back changes to originating client. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5326 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/events/Delta.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/server/events/Delta.hpp') diff --git a/src/server/events/Delta.hpp b/src/server/events/Delta.hpp index 451b8e62..a8e8ed0b 100644 --- a/src/server/events/Delta.hpp +++ b/src/server/events/Delta.hpp @@ -69,11 +69,17 @@ class SetPortValue; class Delta : public Event { public: + enum class Type { + SET, + PUT, + PATCH + }; + Delta(Engine& engine, SPtr client, int32_t id, SampleCount timestamp, - bool create, + Type type, Resource::Graph context, const Raul::URI& subject, const Resource::Properties& properties, @@ -109,7 +115,7 @@ private: CompiledGraph* _compiled_graph; Resource::Graph _context; ControlBindings::Key _binding; - bool _create; + Type _type; SPtr _old_bindings; -- cgit v1.2.1