diff options
author | David Robillard <d@drobilla.net> | 2012-03-11 01:47:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-11 01:47:34 +0000 |
commit | b77cf5f715f94ec172d3e759b3c4e03761374556 (patch) | |
tree | 67f755ca1f4af6aa67620341cefad6a0d2e0e8f6 /include/ingen | |
parent | 905fbd7d76b541c12fe500a4b8c775a64275487b (diff) | |
download | ingen-b77cf5f715f94ec172d3e759b3c4e03761374556.tar.gz ingen-b77cf5f715f94ec172d3e759b3c4e03761374556.tar.bz2 ingen-b77cf5f715f94ec172d3e759b3c4e03761374556.zip |
Fix UI response to property changes like port value (fix #779).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4045 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'include/ingen')
-rw-r--r-- | include/ingen/client/ObjectModel.hpp | 8 | ||||
-rw-r--r-- | include/ingen/client/PortModel.hpp | 5 |
2 files changed, 2 insertions, 11 deletions
diff --git a/include/ingen/client/ObjectModel.hpp b/include/ingen/client/ObjectModel.hpp index 07cf8674..b426ebdc 100644 --- a/include/ingen/client/ObjectModel.hpp +++ b/include/ingen/client/ObjectModel.hpp @@ -59,13 +59,7 @@ public: const Raul::Atom& get_property(const Raul::URI& key) const; - const Raul::Atom& set_property(const Raul::URI& key, - const Raul::Atom& value, - Resource::Graph ctx); - - void add_property(const Raul::URI& key, - const Raul::Atom& value, - Resource::Graph ctx); + void on_property(const Raul::URI& uri, const Raul::Atom& value); const Raul::Path& path() const { return _path; } const Raul::Symbol& symbol() const { return _symbol; } diff --git a/include/ingen/client/PortModel.hpp b/include/ingen/client/PortModel.hpp index eadfac63..4ba1acbc 100644 --- a/include/ingen/client/PortModel.hpp +++ b/include/ingen/client/PortModel.hpp @@ -58,12 +58,9 @@ public: bool has_context(const Raul::URI& context) const; - inline bool operator==(const PortModel& pm) const { return (path() == pm.path()); } - const Raul::Atom& set_property(const Raul::URI& uri, - const Raul::Atom& value, - Resource::Graph ctx); + void on_property(const Raul::URI& uri, const Raul::Atom& value); inline void value(const Raul::Atom& val) { if (val != _current_val) { |