From c11ecf0fd10641218326ae384e80413ba3cdf46c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 27 May 2009 17:42:51 +0000 Subject: Remove 'new_patch', 'new_node', and 'new_port' from interface in favour of generic 'put'. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2011 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/OutputPort.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/engine/OutputPort.cpp') diff --git a/src/engine/OutputPort.cpp b/src/engine/OutputPort.cpp index aa3007b0..020ea6bb 100644 --- a/src/engine/OutputPort.cpp +++ b/src/engine/OutputPort.cpp @@ -16,14 +16,17 @@ */ #include -#include "OutputPort.hpp" +#include "interface/Patch.hpp" #include "Buffer.hpp" +#include "NodeImpl.hpp" +#include "OutputPort.hpp" #include "ProcessContext.hpp" using namespace std; namespace Ingen { +namespace Shared { class Patch; } using namespace Shared; OutputPort::OutputPort(NodeImpl* parent, @@ -35,6 +38,9 @@ OutputPort::OutputPort(NodeImpl* parent, size_t buffer_size) : PortImpl(parent, name, index, poly, type, value, buffer_size) { + if (!dynamic_cast(parent)) + add_property("rdf:type", Raul::Atom(Raul::Atom::URI, "lv2:OutputPort")); + if (type == DataType::CONTROL) _broadcast = true; } -- cgit v1.2.1