diff options
author | David Robillard <d@drobilla.net> | 2011-09-24 02:27:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-24 02:27:45 +0000 |
commit | 2be10b0b6f2c0f01870208e9d18e5db87e5dfb88 (patch) | |
tree | e5bf3a28b59978c6464bb07eac160a458b01cd0d /include | |
parent | 4cc5c82a87cf2316f425a9ea1de0fb29d0c24c8e (diff) | |
download | ingen-2be10b0b6f2c0f01870208e9d18e5db87e5dfb88.tar.gz ingen-2be10b0b6f2c0f01870208e9d18e5db87e5dfb88.tar.bz2 ingen-2be10b0b6f2c0f01870208e9d18e5db87e5dfb88.zip |
Only store patch canvas coordinates in containing patch.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3483 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'include')
-rw-r--r-- | include/ingen/Resource.hpp | 3 | ||||
-rw-r--r-- | include/ingen/client/ObjectModel.hpp | 10 |
2 files changed, 9 insertions, 4 deletions
diff --git a/include/ingen/Resource.hpp b/include/ingen/Resource.hpp index 7a697967..a287372c 100644 --- a/include/ingen/Resource.hpp +++ b/include/ingen/Resource.hpp @@ -120,7 +120,8 @@ public: const Raul::Atom& value, Graph ctx=DEFAULT) = 0; virtual void add_property(const Raul::URI& uri, - const Raul::Atom& value) = 0; + const Raul::Atom& value, + Graph ctx=DEFAULT) = 0; virtual bool has_property(const Raul::URI& uri, const Raul::Atom& value) const = 0; }; diff --git a/include/ingen/client/ObjectModel.hpp b/include/ingen/client/ObjectModel.hpp index 1f446bb0..50ba2805 100644 --- a/include/ingen/client/ObjectModel.hpp +++ b/include/ingen/client/ObjectModel.hpp @@ -57,9 +57,13 @@ 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); + 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); const Raul::Path& path() const { return _path; } const Raul::Symbol& symbol() const { return _symbol; } |