diff options
author | David Robillard <d@drobilla.net> | 2011-11-30 21:49:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-30 21:49:37 +0000 |
commit | bf389be39b7f6f79a5c483c6f890e4690407a9de (patch) | |
tree | 99fad35fea439b95698a6b592bbe000847dec4de /src | |
parent | 3d470a702051f9ebb8dca3c990863ee7efbe000b (diff) | |
download | patchage-bf389be39b7f6f79a5c483c6f890e4690407a9de.tar.gz patchage-bf389be39b7f6f79a5c483c6f890e4690407a9de.tar.bz2 patchage-bf389be39b7f6f79a5c483c6f890e4690407a9de.zip |
Connectable => Joinable.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3706 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/PatchageCanvas.cpp | 14 | ||||
-rw-r--r-- | src/PatchageCanvas.hpp | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp index 6235c5c..ef55f87 100644 --- a/src/PatchageCanvas.cpp +++ b/src/PatchageCanvas.cpp @@ -177,8 +177,8 @@ PatchageCanvas::find_port_by_name(const std::string& client_name, } void -PatchageCanvas::connect(FlowCanvas::Connectable* port1, - FlowCanvas::Connectable* port2) +PatchageCanvas::connect(FlowCanvas::Joinable* port1, + FlowCanvas::Joinable* port2) { PatchagePort* p1 = dynamic_cast<PatchagePort*>(port1); PatchagePort* p2 = dynamic_cast<PatchagePort*>(port2); @@ -200,8 +200,8 @@ PatchageCanvas::connect(FlowCanvas::Connectable* port1, } void -PatchageCanvas::disconnect(FlowCanvas::Connectable* port1, - FlowCanvas::Connectable* port2) +PatchageCanvas::disconnect(FlowCanvas::Joinable* port1, + FlowCanvas::Joinable* port2) { PatchagePort* input = dynamic_cast<PatchagePort*>(port1); PatchagePort* output = dynamic_cast<PatchagePort*>(port2); @@ -290,9 +290,9 @@ PatchageCanvas::on_event(GdkEvent* ev) } bool -PatchageCanvas::make_connection(FlowCanvas::Connectable* tail, - FlowCanvas::Connectable* head, - uint32_t color) +PatchageCanvas::make_connection(FlowCanvas::Joinable* tail, + FlowCanvas::Joinable* head, + uint32_t color) { FlowCanvas::Connection* c = new FlowCanvas::Connection( *this, tail, head, color); diff --git a/src/PatchageCanvas.hpp b/src/PatchageCanvas.hpp index ae1af8d..f1120d8 100644 --- a/src/PatchageCanvas.hpp +++ b/src/PatchageCanvas.hpp @@ -49,11 +49,11 @@ public: PatchagePort* find_port_by_name(const std::string& client_name, const std::string& port_name); - void connect(FlowCanvas::Connectable* port1, - FlowCanvas::Connectable* port2); + void connect(FlowCanvas::Joinable* port1, + FlowCanvas::Joinable* port2); - void disconnect(FlowCanvas::Connectable* port1, - FlowCanvas::Connectable* port2); + void disconnect(FlowCanvas::Joinable* port1, + FlowCanvas::Joinable* port2); void index_port(const PortID& id, PatchagePort* port) { _port_index.insert(std::make_pair(id, port)); @@ -63,9 +63,9 @@ public: void add_module(const std::string& name, PatchageModule* module); - bool make_connection(FlowCanvas::Connectable* tail, - FlowCanvas::Connectable* head, - uint32_t color); + bool make_connection(FlowCanvas::Joinable* tail, + FlowCanvas::Joinable* head, + uint32_t color); void remove_port(const PortID& id); |