From 52c970b2d32cce2090efbbaaed6ff50de80958df Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Feb 2008 18:48:59 +0000 Subject: 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 --- src/PatchageCanvas.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/PatchageCanvas.hpp') 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 #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 find_module(const string& name, ModuleType type); -#ifdef HAVE_ALSA - boost::shared_ptr find_port(snd_seq_addr_t alsa_addr, bool input); -#endif + boost::shared_ptr find_port(const PatchageEvent::PortRef& ref); + void connect(boost::shared_ptr port1, boost::shared_ptr port2); void disconnect(boost::shared_ptr port1, boost::shared_ptr port2); -- cgit v1.2.1