From 53f83f508516d2dddf027782dce6dd045bcf1943 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Sep 2011 19:44:47 +0000 Subject: 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 --- include/ingen/Resource.hpp | 3 ++- include/ingen/client/ObjectModel.hpp | 3 ++- include/ingen/client/PortModel.hpp | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'include') 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) { -- cgit v1.2.1