From c1ac1f31457708db618143f54a3dfef7eb3361aa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 2 Feb 2010 01:22:20 +0000 Subject: Remove set_port_value from CommonInterface (replaced with set_property(path, "ingen:value", value)). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2404 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/PortModel.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/client/PortModel.hpp') diff --git a/src/client/PortModel.hpp b/src/client/PortModel.hpp index 8cf0dccb..58f3262e 100644 --- a/src/client/PortModel.hpp +++ b/src/client/PortModel.hpp @@ -59,6 +59,14 @@ public: inline bool operator==(const PortModel& pm) const { return (_path == pm._path); } + Raul::Atom& set_property(const Raul::URI& uri, + const Raul::Atom& value) { + Raul::Atom& ret = ObjectModel::set_property(uri, value); + if (uri.str() == "ingen:value") + this->value(value); + return ret; + } + inline void value(const Raul::Atom& val) { if (val != _current_val) { _current_val = val; -- cgit v1.2.1