diff options
author | David Robillard <d@drobilla.net> | 2007-02-07 05:31:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-07 05:31:08 +0000 |
commit | 390ba15e0f31f3645857d94a2408173c60d4b198 (patch) | |
tree | b7c600682a414cd01b1073eef49d82e632a0c8a8 /src/progs/ingenuity/Connection.h | |
parent | 39d5400b39c8089287d5d294becae1268d232d31 (diff) | |
download | ingen-390ba15e0f31f3645857d94a2408173c60d4b198.tar.gz ingen-390ba15e0f31f3645857d94a2408173c60d4b198.tar.bz2 ingen-390ba15e0f31f3645857d94a2408173c60d4b198.zip |
Abstracted out "Connectable" concept in FlowCanvas (towards connecting things other than ports).
Fixes for SLV2 API changes.
git-svn-id: http://svn.drobilla.net/lad/ingen@287 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/Connection.h')
-rw-r--r-- | src/progs/ingenuity/Connection.h | 13 |
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) {} |