From b77cf5f715f94ec172d3e759b3c4e03761374556 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 11 Mar 2012 01:47:34 +0000 Subject: 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 --- include/ingen/client/ObjectModel.hpp | 8 +------- include/ingen/client/PortModel.hpp | 5 +---- 2 files changed, 2 insertions(+), 11 deletions(-) (limited to 'include') 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) { -- cgit v1.2.1