diff options
author | David Robillard <d@drobilla.net> | 2009-05-27 23:21:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-27 23:21:34 +0000 |
commit | 2f595631859574bfa7779ebb42f42b8590f5424c (patch) | |
tree | c91c0cddcd93af991161c6cde4eceaaf45c5c8d5 /src/shared/ClashAvoider.cpp | |
parent | 20ff9af76b21b751ac29b354cf557e86b69c52f7 (diff) | |
download | ingen-2f595631859574bfa7779ebb42f42b8590f5424c.tar.gz ingen-2f595631859574bfa7779ebb42f42b8590f5424c.tar.bz2 ingen-2f595631859574bfa7779ebb42f42b8590f5424c.zip |
Remove 'property' vs 'variable' dichotomy in favour of 'meta objects' (to match serialisation).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2016 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/ClashAvoider.cpp')
-rw-r--r-- | src/shared/ClashAvoider.cpp | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp index c7e08269..408f303a 100644 --- a/src/shared/ClashAvoider.cpp +++ b/src/shared/ClashAvoider.cpp @@ -143,10 +143,10 @@ ClashAvoider::exists(const Raul::Path& path) const void -ClashAvoider::put(const Raul::Path& path, +ClashAvoider::put(const Raul::URI& path, const Shared::Resource::Properties& properties) { - _target.put(map_path(path), properties); + _target.put(map_uri(path), properties); } @@ -175,20 +175,11 @@ ClashAvoider::disconnect(const Raul::Path& src_port_path, void -ClashAvoider::set_variable(const Raul::URI& subject_path, +ClashAvoider::set_property(const Raul::URI& subject, const Raul::URI& predicate, const Raul::Atom& value) { - _target.set_variable(map_uri(subject_path), predicate, value); -} - - -void -ClashAvoider::set_property(const Raul::URI& subject_path, - const Raul::URI& predicate, - const Raul::Atom& value) -{ - _target.set_property(map_uri(subject_path), predicate, value); + _target.set_property(map_uri(subject), predicate, value); } |