summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/BlockModel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/BlockModel.cpp b/src/client/BlockModel.cpp
index 2c389f90..f667cb3c 100644
--- a/src/client/BlockModel.cpp
+++ b/src/client/BlockModel.cpp
@@ -149,6 +149,12 @@ BlockModel::get_port(const Raul::Symbol& symbol) const
return SPtr<PortModel>();
}
+SPtr<const PortModel>
+BlockModel::get_port(uint32_t index) const
+{
+ return _ports[index];
+}
+
Ingen::Node*
BlockModel::port(uint32_t index) const
{