From cb93ffe78c76780c346ed10eae1c4484c79ed05c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 16 Nov 2008 21:03:00 +0000 Subject: Fix GUI tracking of property changes (e.g. polyphonic for stacked modules, fix ticket #253). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1733 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/ClientStore.hpp | 3 ++- src/client/ObjectModel.hpp | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src/client') diff --git a/src/client/ClientStore.hpp b/src/client/ClientStore.hpp index 1d5c4589..cd5ffb06 100644 --- a/src/client/ClientStore.hpp +++ b/src/client/ClientStore.hpp @@ -29,7 +29,8 @@ #include "raul/TableImpl.hpp" #include "interface/EngineInterface.hpp" #include "shared/Store.hpp" -using std::string; using std::list; + +using namespace std; using Ingen::Shared::EngineInterface; using Raul::Path; using Raul::Atom; diff --git a/src/client/ObjectModel.hpp b/src/client/ObjectModel.hpp index 843b14de..d4c74ee0 100644 --- a/src/client/ObjectModel.hpp +++ b/src/client/ObjectModel.hpp @@ -64,6 +64,11 @@ public: const Atom& get_variable(const string& key) const; Atom& get_variable( string& key); + virtual void set_property(const string& key, const Atom& value) { + ResourceImpl::set_property(key, value); + signal_property.emit(key, value); + } + virtual void set_variable(const string& key, const Atom& value) { _variables[key] = value; signal_variable.emit(key, value); } -- cgit v1.2.1