summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-23 19:44:47 +0000
committerDavid Robillard <d@drobilla.net>2011-09-23 19:44:47 +0000
commit53f83f508516d2dddf027782dce6dd045bcf1943 (patch)
treeecb1d924ebc0104205755484355e7d8dad25f8b5 /include
parent9a99f038176a7fadc59bbeaa3d3d57f16e4abb74 (diff)
downloadingen-53f83f508516d2dddf027782dce6dd045bcf1943.tar.gz
ingen-53f83f508516d2dddf027782dce6dd045bcf1943.tar.bz2
ingen-53f83f508516d2dddf027782dce6dd045bcf1943.zip
Don't prompt for save location when path is already known from previous save or load.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3476 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'include')
-rw-r--r--include/ingen/Resource.hpp3
-rw-r--r--include/ingen/client/ObjectModel.hpp3
-rw-r--r--include/ingen/client/PortModel.hpp4
3 files changed, 7 insertions, 3 deletions
diff --git a/include/ingen/Resource.hpp b/include/ingen/Resource.hpp
index 6404213c..605aa97d 100644
--- a/include/ingen/Resource.hpp
+++ b/include/ingen/Resource.hpp
@@ -117,7 +117,8 @@ public:
virtual Properties& properties() = 0;
virtual const Raul::Atom& get_property(const Raul::URI& uri) const = 0;
virtual Raul::Atom& set_property(const Raul::URI& uri,
- const Raul::Atom& value) = 0;
+ const Raul::Atom& value,
+ Graph ctx=DEFAULT) = 0;
virtual void add_property(const Raul::URI& uri,
const Raul::Atom& value) = 0;
virtual bool has_property(const Raul::URI& uri,
diff --git a/include/ingen/client/ObjectModel.hpp b/include/ingen/client/ObjectModel.hpp
index 7a975637..d3959f4f 100644
--- a/include/ingen/client/ObjectModel.hpp
+++ b/include/ingen/client/ObjectModel.hpp
@@ -57,7 +57,8 @@ public:
const Raul::Atom& get_property(const Raul::URI& key) const;
- Raul::Atom& set_property(const Raul::URI& key, const Raul::Atom& value);
+ 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::Path& path() const { return _path; }
diff --git a/include/ingen/client/PortModel.hpp b/include/ingen/client/PortModel.hpp
index f3e8f319..0786e7fc 100644
--- a/include/ingen/client/PortModel.hpp
+++ b/include/ingen/client/PortModel.hpp
@@ -63,7 +63,9 @@ public:
inline bool operator==(const PortModel& pm) const { return (path() == pm.path()); }
- Raul::Atom& set_property(const Raul::URI& uri, const Raul::Atom& value);
+ Raul::Atom& set_property(const Raul::URI& uri,
+ const Raul::Atom& value,
+ Resource::Graph ctx);
inline void value(const Raul::Atom& val) {
if (val != _current_val) {