summaryrefslogtreecommitdiffstats
path: root/src/engine/events/Disconnect.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-03 01:25:01 +0000
committerDavid Robillard <d@drobilla.net>2009-06-03 01:25:01 +0000
commit5f71c5eecee673b0a1156d0fe56726750d17cb86 (patch)
treea1bf4bd3b18d3a95cfd2f52fadb9fd986182451e /src/engine/events/Disconnect.cpp
parentf845aa9eaf46cfa2ad2427b62fa9062e7f6c7934 (diff)
downloadingen-5f71c5eecee673b0a1156d0fe56726750d17cb86.tar.gz
ingen-5f71c5eecee673b0a1156d0fe56726750d17cb86.tar.bz2
ingen-5f71c5eecee673b0a1156d0fe56726750d17cb86.zip
Rename event classes to match new pretty file names.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2069 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events/Disconnect.cpp')
-rw-r--r--src/engine/events/Disconnect.cpp23
1 files changed, 15 insertions, 8 deletions
diff --git a/src/engine/events/Disconnect.cpp b/src/engine/events/Disconnect.cpp
index 6760b8d1..77878d43 100644
--- a/src/engine/events/Disconnect.cpp
+++ b/src/engine/events/Disconnect.cpp
@@ -34,10 +34,12 @@ namespace Ingen {
namespace Events {
-//// DisconnectionEvent ////
-
-
-DisconnectionEvent::DisconnectionEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const Raul::Path& src_port_path, const Raul::Path& dst_port_path)
+Disconnect::Disconnect(
+ Engine& engine,
+ SharedPtr<Responder> responder,
+ SampleCount timestamp,
+ const Raul::Path& src_port_path,
+ const Raul::Path& dst_port_path)
: QueuedEvent(engine, responder, timestamp)
, _src_port_path(src_port_path)
, _dst_port_path(dst_port_path)
@@ -52,7 +54,12 @@ DisconnectionEvent::DisconnectionEvent(Engine& engine, SharedPtr<Responder> resp
}
-DisconnectionEvent::DisconnectionEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, PortImpl* const src_port, PortImpl* const dst_port)
+Disconnect::Disconnect(
+ Engine& engine,
+ SharedPtr<Responder> responder,
+ SampleCount timestamp,
+ PortImpl* const src_port,
+ PortImpl* const dst_port)
: QueuedEvent(engine, responder, timestamp),
_src_port_path(src_port->path()),
_dst_port_path(dst_port->path()),
@@ -73,7 +80,7 @@ DisconnectionEvent::DisconnectionEvent(Engine& engine, SharedPtr<Responder> resp
void
-DisconnectionEvent::pre_process()
+Disconnect::pre_process()
{
if (_lookup) {
if (_src_port_path.parent().parent() != _dst_port_path.parent().parent()
@@ -156,7 +163,7 @@ DisconnectionEvent::pre_process()
void
-DisconnectionEvent::execute(ProcessContext& context)
+Disconnect::execute(ProcessContext& context)
{
QueuedEvent::execute(context);
@@ -194,7 +201,7 @@ DisconnectionEvent::execute(ProcessContext& context)
void
-DisconnectionEvent::post_process()
+Disconnect::post_process()
{
if (_error == NO_ERROR) {
_responder->respond_ok();