From 119468f621a59d86da10bedf75c4427b70f9d370 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 16 Mar 2012 03:15:41 +0000 Subject: Remove activity from interface and use set_property() instead. Move client registration stuff to Engine and remove corresponding events. Simply response ID interface. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4066 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/ClientStore.cpp | 10 ---------- src/client/PortModel.cpp | 2 ++ 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'src/client') diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 7dbc5b0e..c7d5b9a2 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -65,7 +65,6 @@ ClientStore::ClientStore(SharedPtr uris, CONNECT(disconnection, disconnect); CONNECT(disconnect_all, disconnect_all); CONNECT(property_change, set_property); - CONNECT(activity, activity); } void @@ -413,15 +412,6 @@ ClientStore::set_property(const URI& subject_uri, const URI& predicate, const At } } -void -ClientStore::activity(const Path& path, const Atom& value) -{ - SharedPtr port = PtrCast(_object(path)); - if (port) { - port->signal_activity().emit(value); - } -} - SharedPtr ClientStore::connection_patch(const Path& src_port_path, const Path& dst_port_path) { diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp index 2fc649a7..afd28816 100644 --- a/src/client/PortModel.cpp +++ b/src/client/PortModel.cpp @@ -27,6 +27,8 @@ PortModel::on_property(const Raul::URI& uri, const Raul::Atom& value) { if (uri == _uris.ingen_value) { this->value(value); + } else if (uri == _uris.ingen_activity) { + signal_activity().emit(value); } } -- cgit v1.2.1