summaryrefslogtreecommitdiffstats
path: root/src/server/events/CreatePort.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-15 05:24:41 +0000
committerDavid Robillard <d@drobilla.net>2012-08-15 05:24:41 +0000
commit5dd1d9b720993fc7813fe12fca0844f95033ff1b (patch)
tree344151dd656894340d217a8fe33f8dba53fe160f /src/server/events/CreatePort.hpp
parent0a9297ed2a1622d252a389d8babc0656fedbe7fd (diff)
downloadingen-5dd1d9b720993fc7813fe12fca0844f95033ff1b.tar.gz
ingen-5dd1d9b720993fc7813fe12fca0844f95033ff1b.tar.bz2
ingen-5dd1d9b720993fc7813fe12fca0844f95033ff1b.zip
Use intrusive lists to store nodes and ports in their parent patch to avoid tedious allocated list node juggling.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4700 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events/CreatePort.hpp')
-rw-r--r--src/server/events/CreatePort.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/events/CreatePort.hpp b/src/server/events/CreatePort.hpp
index 22304b4c..c8e4c695 100644
--- a/src/server/events/CreatePort.hpp
+++ b/src/server/events/CreatePort.hpp
@@ -28,9 +28,10 @@
namespace Ingen {
namespace Server {
+class DuplexPort;
+class EnginePort;
class PatchImpl;
class PortImpl;
-class EnginePort;
namespace Events {
@@ -58,7 +59,7 @@ private:
PortType _port_type;
LV2_URID _buf_type;
PatchImpl* _patch;
- PortImpl* _patch_port;
+ DuplexPort* _patch_port;
Raul::Array<PortImpl*>* _ports_array; ///< New external port array for Patch
Raul::Array<PortImpl*>* _old_ports_array;
EnginePort* _engine_port; ///< Driver port if on the root