From 66b6d9d6fb8446b6225356defd72b0cc3a9511c4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Oct 2011 03:21:21 +0000 Subject: Remove EventType. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3586 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/Driver.hpp | 4 +++- src/server/Engine.cpp | 1 - src/server/JackDriver.cpp | 7 ------- src/server/JackDriver.hpp | 2 -- src/server/ingen_lv2.cpp | 4 ---- 5 files changed, 3 insertions(+), 15 deletions(-) (limited to 'src/server') diff --git a/src/server/Driver.hpp b/src/server/Driver.hpp index 0178b4f0..11b312eb 100644 --- a/src/server/Driver.hpp +++ b/src/server/Driver.hpp @@ -19,9 +19,11 @@ #define INGEN_ENGINE_DRIVER_HPP #include + #include + #include "raul/Deletable.hpp" -#include "ingen/EventType.hpp" + #include "DuplexPort.hpp" namespace Raul { class Path; } diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp index eb7792f5..bf0ef61b 100644 --- a/src/server/Engine.cpp +++ b/src/server/Engine.cpp @@ -23,7 +23,6 @@ #include "raul/Maid.hpp" #include "raul/SharedPtr.hpp" #include "lv2/lv2plug.in/ns/ext/uri-map/uri-map.h" -#include "ingen/EventType.hpp" #include "events/CreatePatch.hpp" #include "events/CreatePort.hpp" #include "ingen/shared/World.hpp" diff --git a/src/server/JackDriver.cpp b/src/server/JackDriver.cpp index 11d1ff08..821582c9 100644 --- a/src/server/JackDriver.cpp +++ b/src/server/JackDriver.cpp @@ -207,13 +207,6 @@ JackDriver::~JackDriver() jack_client_close(_client); } -bool -JackDriver::supports(PortType port_type, EventType event_type) -{ - return (port_type == PortType::AUDIO - || (port_type == PortType::EVENTS && event_type == EventType::MIDI)); -} - bool JackDriver::attach(const std::string& server_name, const std::string& client_name, diff --git a/src/server/JackDriver.hpp b/src/server/JackDriver.hpp index d39319ba..32fb4f3e 100644 --- a/src/server/JackDriver.hpp +++ b/src/server/JackDriver.hpp @@ -88,8 +88,6 @@ public: explicit JackDriver(Engine& engine); ~JackDriver(); - bool supports(PortType port_type, EventType event_type); - bool attach(const std::string& server_name, const std::string& client_name, void* jack_client); diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp index a2513946..c4e8240d 100644 --- a/src/server/ingen_lv2.cpp +++ b/src/server/ingen_lv2.cpp @@ -179,10 +179,6 @@ public: return NULL; } - virtual bool supports(PortType port_type, EventType event_type) { - return true; - } - virtual DriverPort* create_port(DuplexPort* patch_port) { return new LV2Port(this, patch_port); } -- cgit v1.2.1