From 971c02f3707c4872a2da9a3b946b6508290c5ab4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 7 Oct 2007 23:09:48 +0000 Subject: Added shared abstract interface for ports. Moved DataType to shared. Switch data type URIs to match LV2 type semantics (e.g. separate audio/control types). git-svn-id: http://svn.drobilla.net/lad/ingen@840 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 b321e51c..719770ed 100644 --- a/src/libs/engine/ObjectStore.cpp +++ b/src/libs/engine/ObjectStore.cpp @@ -23,7 +23,7 @@ #include "ObjectStore.hpp" #include "Patch.hpp" #include "NodeImpl.hpp" -#include "Port.hpp" +#include "PortImpl.hpp" #include "ThreadManager.hpp" using namespace std; @@ -54,11 +54,11 @@ ObjectStore::find_node(const Path& path) /** Find the Port at the given path. */ -Port* +PortImpl* ObjectStore::find_port(const Path& path) { GraphObjectImpl* const object = find_object(path); - return dynamic_cast(object); + return dynamic_cast(object); } @@ -85,7 +85,7 @@ ObjectStore::add(GraphObjectImpl* o) NodeImpl* node = dynamic_cast(o); if (node) { for (uint32_t i=0; i < node->num_ports(); ++i) { - add(node->ports().at(i)); + add(node->port_impl(i)); } } } -- cgit v1.2.1