From 9dadfb83f9ce69a870362824bc6a3cad371385af Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 17 Aug 2008 20:16:21 +0000 Subject: Set/send/etc properties through the engine. Add 'ingen:selected' property so selection is persistent and shared among clients. git-svn-id: http://svn.drobilla.net/lad/ingen@1424 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/GraphObjectImpl.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libs/engine/GraphObjectImpl.hpp') diff --git a/src/libs/engine/GraphObjectImpl.hpp b/src/libs/engine/GraphObjectImpl.hpp index bee10c98..9b1f675d 100644 --- a/src/libs/engine/GraphObjectImpl.hpp +++ b/src/libs/engine/GraphObjectImpl.hpp @@ -72,6 +72,9 @@ public: void set_variable(const std::string& key, const Atom& value) { _variables[key] = value; } + + void set_property(const std::string& key, const Atom& value) + { _properties[key] = value; } const Atom& get_variable(const std::string& key) { static Atom null_atom; -- cgit v1.2.1