summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/DisconnectNodeEvent.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/DisconnectNodeEvent.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/DisconnectNodeEvent.cpp')
-rw-r--r--src/libs/engine/events/DisconnectNodeEvent.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/engine/events/DisconnectNodeEvent.cpp b/src/libs/engine/events/DisconnectNodeEvent.cpp
index 8612d012..e0507b3a 100644
--- a/src/libs/engine/events/DisconnectNodeEvent.cpp
+++ b/src/libs/engine/events/DisconnectNodeEvent.cpp
@@ -20,7 +20,7 @@
#include <raul/Maid.hpp>
#include <raul/Path.hpp>
#include "ClientBroadcaster.hpp"
-#include "Connection.hpp"
+#include "ConnectionImpl.hpp"
#include "DisconnectNodeEvent.hpp"
#include "DisconnectionEvent.hpp"
#include "Engine.hpp"
@@ -70,7 +70,7 @@ DisconnectNodeEvent::~DisconnectNodeEvent()
void
DisconnectNodeEvent::pre_process()
{
- typedef Raul::List<Connection*>::const_iterator ConnectionListIterator;
+ typedef Raul::List<ConnectionImpl*>::const_iterator ConnectionListIterator;
if (_lookup) {
_patch = _engine.object_store()->find_patch(_node_path.parent());
@@ -90,7 +90,7 @@ DisconnectNodeEvent::pre_process()
}
}
- Connection* c = NULL;
+ ConnectionImpl* c = NULL;
for (ConnectionListIterator i = _patch->connections().begin(); i != _patch->connections().end(); ++i) {
c = (*i);
if ((c->src_port()->parent_node() == _node || c->dst_port()->parent_node() == _node) && !c->pending_disconnection()) {