From 299f075679fc7ea6a67001c2cc0442511e167cbc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 7 Oct 2007 18:14:01 +0000 Subject: Shared abstract Node interface. git-svn-id: http://svn.drobilla.net/lad/ingen@835 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/ObjectStore.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libs/engine/ObjectStore.cpp') diff --git a/src/libs/engine/ObjectStore.cpp b/src/libs/engine/ObjectStore.cpp index 27e7565b..b321e51c 100644 --- a/src/libs/engine/ObjectStore.cpp +++ b/src/libs/engine/ObjectStore.cpp @@ -22,7 +22,7 @@ #include #include "ObjectStore.hpp" #include "Patch.hpp" -#include "Node.hpp" +#include "NodeImpl.hpp" #include "Port.hpp" #include "ThreadManager.hpp" @@ -44,11 +44,11 @@ ObjectStore::find_patch(const Path& path) /** Find the Node at the given path. */ -Node* +NodeImpl* ObjectStore::find_node(const Path& path) { GraphObjectImpl* const object = find_object(path); - return dynamic_cast(object); + return dynamic_cast(object); } @@ -82,7 +82,7 @@ ObjectStore::add(GraphObjectImpl* o) cerr << "[ObjectStore] Adding " << o->path() << endl; _objects.insert(make_pair(o->path(), o)); - Node* node = dynamic_cast(o); + NodeImpl* node = dynamic_cast(o); if (node) { for (uint32_t i=0; i < node->num_ports(); ++i) { add(node->ports().at(i)); -- cgit v1.2.1