summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-22 03:21:21 +0000
committerDavid Robillard <d@drobilla.net>2011-10-22 03:21:21 +0000
commit66b6d9d6fb8446b6225356defd72b0cc3a9511c4 (patch)
treef27355a3882ac1ebe38b7f5cab9bfe7b5b3471e5 /src
parentd9e8e65328406f10de9f272572d4bee0732a7b3c (diff)
downloadingen-66b6d9d6fb8446b6225356defd72b0cc3a9511c4.tar.gz
ingen-66b6d9d6fb8446b6225356defd72b0cc3a9511c4.tar.bz2
ingen-66b6d9d6fb8446b6225356defd72b0cc3a9511c4.zip
Remove EventType.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3586 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/server/Driver.hpp4
-rw-r--r--src/server/Engine.cpp1
-rw-r--r--src/server/JackDriver.cpp7
-rw-r--r--src/server/JackDriver.hpp2
-rw-r--r--src/server/ingen_lv2.cpp4
5 files changed, 3 insertions, 15 deletions
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 <string>
+
#include <boost/utility.hpp>
+
#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
@@ -208,13 +208,6 @@ JackDriver::~JackDriver()
}
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,
void* jack_client)
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);
}