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 | 8b8e3a45a6aa40fbb391c6af13a4d7a7baf0a97e (patch) | |
tree | c9ae997543956142bc0f81acfa11d6c546b70f30 /src/PatchageFlowCanvas.h | |
parent | b0dda1ccccb53f8bb7ad59c96252647f8e4aa124 (diff) | |
download | patchage-8b8e3a45a6aa40fbb391c6af13a4d7a7baf0a97e.tar.gz patchage-8b8e3a45a6aa40fbb391c6af13a4d7a7baf0a97e.tar.bz2 patchage-8b8e3a45a6aa40fbb391c6af13a4d7a7baf0a97e.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/patchage@287 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageFlowCanvas.h')
-rw-r--r-- | src/PatchageFlowCanvas.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/PatchageFlowCanvas.h b/src/PatchageFlowCanvas.h index f2a126f..19873c5 100644 --- a/src/PatchageFlowCanvas.h +++ b/src/PatchageFlowCanvas.h @@ -24,8 +24,6 @@ #include <flowcanvas/FlowCanvas.h> #include "StateManager.h" - - class Patchage; class PatchageModule; class PatchagePort; @@ -42,8 +40,8 @@ public: #ifdef HAVE_ALSA boost::shared_ptr<PatchagePort> find_port(const snd_seq_addr_t* alsa_addr); #endif - void connect(boost::shared_ptr<Port> port1, boost::shared_ptr<Port> port2); - void disconnect(boost::shared_ptr<Port> port1, boost::shared_ptr<Port> port2); + void connect(boost::shared_ptr<Connectable> port1, boost::shared_ptr<Connectable> port2); + void disconnect(boost::shared_ptr<Connectable> port1, boost::shared_ptr<Connectable> port2); void status_message(const string& msg); |