From 470936f0bf3535c688df5551025265916a5dee06 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 26 Mar 2017 13:49:14 +0200 Subject: Remove Node::set_path() method --- ingen/Node.hpp | 3 --- ingen/client/ObjectModel.hpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'ingen') 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 p); virtual void add_child(SPtr c) {} virtual bool remove_child(SPtr c) { return true; } -- cgit v1.2.1