summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-02-23 18:48:59 +0000
committerDavid Robillard <d@drobilla.net>2008-02-23 18:48:59 +0000
commit52c970b2d32cce2090efbbaaed6ff50de80958df (patch)
tree8e69392e8054c8349ce6dad9a4b4028d08e1ae7c /src/PatchageCanvas.hpp
parent8efff32d97b1b578f8c42fe2db7b30cfc44ecf2f (diff)
downloadpatchage-52c970b2d32cce2090efbbaaed6ff50de80958df.tar.gz
patchage-52c970b2d32cce2090efbbaaed6ff50de80958df.tar.bz2
patchage-52c970b2d32cce2090efbbaaed6ff50de80958df.zip
Rearrange event port referencing stuff to make a bit more sense.
git-svn-id: http://svn.drobilla.net/lad/patchage@1159 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageCanvas.hpp')
-rw-r--r--src/PatchageCanvas.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PatchageCanvas.hpp b/src/PatchageCanvas.hpp
index d904581..c4ed127 100644
--- a/src/PatchageCanvas.hpp
+++ b/src/PatchageCanvas.hpp
@@ -25,6 +25,7 @@
#endif
#include <flowcanvas/Canvas.hpp>
#include "StateManager.hpp"
+#include "PatchageEvent.hpp"
class Patchage;
class PatchageModule;
@@ -38,9 +39,8 @@ public:
PatchageCanvas(Patchage* _app, int width, int height);
boost::shared_ptr<PatchageModule> find_module(const string& name, ModuleType type);
-#ifdef HAVE_ALSA
- boost::shared_ptr<PatchagePort> find_port(snd_seq_addr_t alsa_addr, bool input);
-#endif
+ boost::shared_ptr<PatchagePort> find_port(const PatchageEvent::PortRef& ref);
+
void connect(boost::shared_ptr<Connectable> port1, boost::shared_ptr<Connectable> port2);
void disconnect(boost::shared_ptr<Connectable> port1, boost::shared_ptr<Connectable> port2);