summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/Connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/ingenuity/Connection.h')
-rw-r--r--src/progs/ingenuity/Connection.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/progs/ingenuity/Connection.h b/src/progs/ingenuity/Connection.h
index 70c82f1d..f816bce2 100644
--- a/src/progs/ingenuity/Connection.h
+++ b/src/progs/ingenuity/Connection.h
@@ -27,18 +27,19 @@ using Ingen::Client::ConnectionModel;
namespace Ingenuity {
-/** A Connection on an Module.
+/** A Connection in a Patch.
*
* \ingroup Ingenuity
*/
class Connection : public LibFlowCanvas::Connection
{
public:
- Connection(boost::shared_ptr<LibFlowCanvas::FlowCanvas> canvas,
- boost::shared_ptr<ConnectionModel> model,
- boost::shared_ptr<LibFlowCanvas::Port> src,
- boost::shared_ptr<LibFlowCanvas::Port> dst)
- : LibFlowCanvas::Connection(canvas, src, dst)
+ Connection(boost::shared_ptr<LibFlowCanvas::FlowCanvas> canvas,
+ boost::shared_ptr<ConnectionModel> model,
+ boost::shared_ptr<LibFlowCanvas::Connectable> src,
+ boost::shared_ptr<LibFlowCanvas::Connectable> dst,
+ uint32_t color)
+ : LibFlowCanvas::Connection(canvas, src, dst, color)
, _connection_model(model)
{}