From fae7e7519afae5f42836eaaf5e317151ea9c4378 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 8 Oct 2007 04:21:18 +0000 Subject: Fixed missing symbol in Raul. Made Raul::List interface and uses thereof less fugly. git-svn-id: http://svn.drobilla.net/lad/ingen@845 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/InputPort.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/libs/engine/InputPort.hpp') diff --git a/src/libs/engine/InputPort.hpp b/src/libs/engine/InputPort.hpp index 1552642b..0b739f4b 100644 --- a/src/libs/engine/InputPort.hpp +++ b/src/libs/engine/InputPort.hpp @@ -22,6 +22,7 @@ #include #include #include +#include #include "PortImpl.hpp" #include "MidiBuffer.hpp" using std::string; @@ -50,10 +51,11 @@ public: InputPort(NodeImpl* parent, const string& name, uint32_t index, uint32_t poly, DataType type, size_t buffer_size); virtual ~InputPort() {} - void add_connection(Raul::ListNode* c); - Raul::ListNode* remove_connection(const OutputPort* src_port); + typedef Raul::List< SharedPtr > Connections; + + void add_connection(Connections::Node* c); + Connections::Node* remove_connection(const OutputPort* src_port); - typedef Raul::List Connections; const Connections& connections() { return _connections; } void pre_process(ProcessContext& context); -- cgit v1.2.1