From 2be10b0b6f2c0f01870208e9d18e5db87e5dfb88 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 24 Sep 2011 02:27:45 +0000 Subject: Only store patch canvas coordinates in containing patch. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3483 a436a847-0d15-0410-975c-d299462d15a1 --- include/ingen/Resource.hpp | 3 ++- include/ingen/client/ObjectModel.hpp | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'include') 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; } -- cgit v1.2.1