diff options
Diffstat (limited to 'src/engine/InputPort.cpp')
-rw-r--r-- | src/engine/InputPort.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/engine/InputPort.cpp b/src/engine/InputPort.cpp index c8b373c1..9b10580f 100644 --- a/src/engine/InputPort.cpp +++ b/src/engine/InputPort.cpp @@ -19,11 +19,12 @@ #include <iostream> #include <cstdlib> #include <cassert> +#include "interface/Patch.hpp" #include "AudioBuffer.hpp" -#include "EventBuffer.hpp" #include "ConnectionImpl.hpp" -#include "OutputPort.hpp" +#include "EventBuffer.hpp" #include "NodeImpl.hpp" +#include "OutputPort.hpp" #include "ProcessContext.hpp" #include "util.hpp" @@ -31,6 +32,7 @@ using namespace std; namespace Ingen { +namespace Shared { class Patch; } using namespace Shared; InputPort::InputPort(NodeImpl* parent, @@ -42,6 +44,8 @@ InputPort::InputPort(NodeImpl* parent, size_t buffer_size) : PortImpl(parent, name, index, poly, type, value, buffer_size) { + if (!dynamic_cast<Patch*>(parent)) + add_property("rdf:type", Raul::Atom(Raul::Atom::URI, "lv2:InputPort")); } |