summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-03-26 13:49:14 +0200
committerDavid Robillard <d@drobilla.net>2017-03-26 17:02:09 +0200
commit470936f0bf3535c688df5551025265916a5dee06 (patch)
treec52c5ccd41e666ef5737d826e3ee7de0e4aaee15 /ingen
parentfbb4acda313ecfb69dd1e7c2f1f120072fec382d (diff)
downloadingen-470936f0bf3535c688df5551025265916a5dee06.tar.gz
ingen-470936f0bf3535c688df5551025265916a5dee06.tar.bz2
ingen-470936f0bf3535c688df5551025265916a5dee06.zip
Remove Node::set_path() method
Diffstat (limited to 'ingen')
-rw-r--r--ingen/Node.hpp3
-rw-r--r--ingen/client/ObjectModel.hpp2
2 files changed, 1 insertions, 4 deletions
diff --git a/ingen/Node.hpp b/ingen/Node.hpp
index 18987749..e0fcf338 100644
--- a/ingen/Node.hpp
+++ b/ingen/Node.hpp
@@ -76,9 +76,6 @@ public:
virtual const Raul::Symbol& symbol() const = 0;
protected:
- friend class Store;
- virtual void set_path(const Raul::Path& p) = 0;
-
Node(const URIs& uris, const Raul::Path& path)
: Resource(uris, path_to_uri(path))
{}
diff --git a/ingen/client/ObjectModel.hpp b/ingen/client/ObjectModel.hpp
index e1cac51b..866f1b46 100644
--- a/ingen/client/ObjectModel.hpp
+++ b/ingen/client/ObjectModel.hpp
@@ -84,7 +84,7 @@ protected:
ObjectModel(URIs& uris, const Raul::Path& path);
ObjectModel(const ObjectModel& copy);
- virtual void set_path(const Raul::Path& p);
+ virtual void set_uri(const Raul::URI& uri);
virtual void set_parent(SPtr<ObjectModel> p);
virtual void add_child(SPtr<ObjectModel> c) {}
virtual bool remove_child(SPtr<ObjectModel> c) { return true; }