diff options
Diffstat (limited to 'src/libs/engine/NodeBase.cpp')
-rw-r--r-- | src/libs/engine/NodeBase.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/libs/engine/NodeBase.cpp b/src/libs/engine/NodeBase.cpp index d5400cdf..d5e75970 100644 --- a/src/libs/engine/NodeBase.cpp +++ b/src/libs/engine/NodeBase.cpp @@ -24,7 +24,7 @@ #include "util.hpp" #include "PluginImpl.hpp" #include "ClientBroadcaster.hpp" -#include "Port.hpp" +#include "PortImpl.hpp" #include "Patch.hpp" #include "ObjectStore.hpp" @@ -66,6 +66,20 @@ NodeBase::~NodeBase() delete _ports->at(i); } + +Port* +NodeBase::port(uint32_t index) const +{ + return (*_ports)[index]; +} + + +const Plugin* +NodeBase::plugin() const +{ + return _plugin; +} + void NodeBase::activate() |