summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/DisconnectPortEvent.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-08 01:38:38 +0000
committerDavid Robillard <d@drobilla.net>2007-10-08 01:38:38 +0000
commit9d9efa215c52a6b75eef7e9a8b088b11dfd76a07 (patch)
tree7983e607cf87ddd4b1e099eedfb218880805717d /src/libs/engine/events/DisconnectPortEvent.cpp
parenta421a44310ee472fbee15f150d32b826a8371dbf (diff)
downloadingen-9d9efa215c52a6b75eef7e9a8b088b11dfd76a07.tar.gz
ingen-9d9efa215c52a6b75eef7e9a8b088b11dfd76a07.tar.bz2
ingen-9d9efa215c52a6b75eef7e9a8b088b11dfd76a07.zip
Shared abstract Connection interface.
Only Patch to go, now.... git-svn-id: http://svn.drobilla.net/lad/ingen@843 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/DisconnectPortEvent.cpp')
-rw-r--r--src/libs/engine/events/DisconnectPortEvent.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/engine/events/DisconnectPortEvent.cpp b/src/libs/engine/events/DisconnectPortEvent.cpp
index f7ad9925..76a4cbc4 100644
--- a/src/libs/engine/events/DisconnectPortEvent.cpp
+++ b/src/libs/engine/events/DisconnectPortEvent.cpp
@@ -23,7 +23,7 @@
#include "Responder.hpp"
#include "Engine.hpp"
#include "NodeImpl.hpp"
-#include "Connection.hpp"
+#include "ConnectionImpl.hpp"
#include "DisconnectionEvent.hpp"
#include "PortImpl.hpp"
#include "InputPort.hpp"
@@ -103,8 +103,8 @@ DisconnectPortEvent::pre_process()
return;
}
- Connection* c = NULL;
- for (Raul::List<Connection*>::const_iterator i = _patch->connections().begin(); i != _patch->connections().end(); ++i) {
+ ConnectionImpl* c = NULL;
+ for (Raul::List<ConnectionImpl*>::const_iterator i = _patch->connections().begin(); i != _patch->connections().end(); ++i) {
c = (*i);
if ((c->src_port() == _port || c->dst_port() == _port) && !c->pending_disconnection()) {
DisconnectionEvent* ev = new DisconnectionEvent(_engine, SharedPtr<Responder>(new Responder()), _time,