summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/ObjectStore.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-07 18:14:01 +0000
committerDavid Robillard <d@drobilla.net>2007-10-07 18:14:01 +0000
commit299f075679fc7ea6a67001c2cc0442511e167cbc (patch)
tree1fa210526bb92ceafa057b423e466686d55d00bd /src/libs/engine/ObjectStore.cpp
parent91031b8f5a4bf86b39e4c4a02412a16e247f8b15 (diff)
downloadingen-299f075679fc7ea6a67001c2cc0442511e167cbc.tar.gz
ingen-299f075679fc7ea6a67001c2cc0442511e167cbc.tar.bz2
ingen-299f075679fc7ea6a67001c2cc0442511e167cbc.zip
Shared abstract Node interface.
git-svn-id: http://svn.drobilla.net/lad/ingen@835 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/ObjectStore.cpp')
-rw-r--r--src/libs/engine/ObjectStore.cpp8
1 files changed, 4 insertions, 4 deletions
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 <raul/TableImpl.hpp>
#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<Node*>(object);
+ return dynamic_cast<NodeImpl*>(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<Node*>(o);
+ NodeImpl* node = dynamic_cast<NodeImpl*>(o);
if (node) {
for (uint32_t i=0; i < node->num_ports(); ++i) {
add(node->ports().at(i));