summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ingen/Resource.hpp3
-rw-r--r--include/ingen/client/ObjectModel.hpp10
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; }