summaryrefslogtreecommitdiffstats
path: root/src/gui/Connection.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-28 02:25:35 +0000
committerDavid Robillard <d@drobilla.net>2012-04-28 02:25:35 +0000
commit927b169eb1787bc40ede591c7c7893a39b488d95 (patch)
tree70337e073d9ddd301e118bbda6b43481e88de4ed /src/gui/Connection.hpp
parenteed06c66b6f54687cc148d45d00352a85ad2d3d3 (diff)
downloadingen-927b169eb1787bc40ede591c7c7893a39b488d95.tar.gz
ingen-927b169eb1787bc40ede591c7c7893a39b488d95.tar.bz2
ingen-927b169eb1787bc40ede591c7c7893a39b488d95.zip
Use "tail" and "head" terminology instead of "src_port" and "dst_port".
Use the same types for connect() and disconnect() parameters. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4292 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/Connection.hpp')
-rw-r--r--src/gui/Connection.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/Connection.hpp b/src/gui/Connection.hpp
index 3f2b04a9..17d80bc0 100644
--- a/src/gui/Connection.hpp
+++ b/src/gui/Connection.hpp
@@ -24,7 +24,7 @@
namespace Ingen {
-namespace Client { class ConnectionModel; }
+namespace Client { class EdgeModel; }
namespace GUI {
@@ -35,16 +35,16 @@ namespace GUI {
class Connection : public Ganv::Edge
{
public:
- Connection(Ganv::Canvas& canvas,
- boost::shared_ptr<const Client::ConnectionModel> model,
- Ganv::Node* src,
- Ganv::Node* dst,
- uint32_t color);
+ Connection(Ganv::Canvas& canvas,
+ boost::shared_ptr<const Client::EdgeModel> model,
+ Ganv::Node* src,
+ Ganv::Node* dst,
+ uint32_t color);
- SharedPtr<const Client::ConnectionModel> model() const { return _connection_model; }
+ SharedPtr<const Client::EdgeModel> model() const { return _edge_model; }
private:
- SharedPtr<const Client::ConnectionModel> _connection_model;
+ SharedPtr<const Client::EdgeModel> _edge_model;
};
} // namespace GUI