From c7f3a28390e651e03a68b664086351788a6a2d73 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 10 Oct 2007 05:45:04 +0000 Subject: Fix recursive patch problems (all objects recursively appearing as direct child of root). Use slightly more human friendly names for blank nodes in patch files. Fix memory management semantics of engine side objects (fix crash on subpatch delete). Make Raul::Table a boost::noncopyable; related changes trickled down from that. git-svn-id: http://svn.drobilla.net/lad/ingen@865 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/interface/GraphObject.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/common/interface/GraphObject.hpp') diff --git a/src/common/interface/GraphObject.hpp b/src/common/interface/GraphObject.hpp index 57241b20..bed058f0 100644 --- a/src/common/interface/GraphObject.hpp +++ b/src/common/interface/GraphObject.hpp @@ -24,6 +24,7 @@ #include #include #include +#include using Raul::PathTable; @@ -43,12 +44,15 @@ public: typedef std::map Variables; typedef PathTable< SharedPtr >::const_iterator const_iterator; - + virtual const Raul::Path path() const = 0; virtual const std::string name() const = 0; virtual const Variables& variables() const = 0; virtual bool polyphonic() const = 0; + // FIXME: return WeakPtr, and stupid name + virtual GraphObject* graph_parent() const = 0; + virtual const_iterator children_begin() const = 0; virtual const_iterator children_end() const = 0; virtual SharedPtr find_child(const string& name) const = 0; -- cgit v1.2.1