diff options
author | David Robillard <d@drobilla.net> | 2008-02-17 22:00:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-02-17 22:00:26 +0000 |
commit | bbb3abbe4b86a23ef884d38ca299aff13b8f9242 (patch) | |
tree | 71c193dc84cacc83daa1aa686a6e655d020f5f74 /src/Driver.hpp | |
parent | a26faf1aa846e9ab9c5ede7a424549e235cf6fb0 (diff) | |
download | patchage-bbb3abbe4b86a23ef884d38ca299aff13b8f9242.tar.gz patchage-bbb3abbe4b86a23ef884d38ca299aff13b8f9242.tar.bz2 patchage-bbb3abbe4b86a23ef884d38ca299aff13b8f9242.zip |
Remove Jack API dependence from PatchageEvent.
git-svn-id: http://svn.drobilla.net/lad/patchage@1151 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Driver.hpp')
-rw-r--r-- | src/Driver.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Driver.hpp b/src/Driver.hpp index 5d0c59d..820e7eb 100644 --- a/src/Driver.hpp +++ b/src/Driver.hpp @@ -24,6 +24,7 @@ #include "PatchageEvent.hpp" class PatchagePort; +class PatchageCanvas; /** Trival driver base class */ class Driver { @@ -35,6 +36,14 @@ public: virtual bool is_attached() const = 0; virtual void refresh() = 0; + + virtual boost::shared_ptr<PatchagePort> create_port_view( + Patchage* patchage, + const PatchageEvent::PortRef& ref) = 0; + + virtual boost::shared_ptr<PatchagePort> find_port_view( + Patchage* patchage, + const PatchageEvent::PortRef& ref) = 0; virtual bool connect(boost::shared_ptr<PatchagePort> src_port, boost::shared_ptr<PatchagePort> dst_port) = 0; |