summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Patch.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-08 04:51:33 +0000
committerDavid Robillard <d@drobilla.net>2007-10-08 04:51:33 +0000
commit260a406b12997fdab7446a9980e921d8cfc46915 (patch)
treed900ce2737a2b027a632c6ecb80cf889cb6ebc6d /src/libs/engine/Patch.hpp
parentfae7e7519afae5f42836eaaf5e317151ea9c4378 (diff)
downloadingen-260a406b12997fdab7446a9980e921d8cfc46915.tar.gz
ingen-260a406b12997fdab7446a9980e921d8cfc46915.tar.bz2
ingen-260a406b12997fdab7446a9980e921d8cfc46915.zip
SharedPtr-ize engine-side Connections (towards merge for patch->connections()).
git-svn-id: http://svn.drobilla.net/lad/ingen@846 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Patch.hpp')
-rw-r--r--src/libs/engine/Patch.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/engine/Patch.hpp b/src/libs/engine/Patch.hpp
index 3097a87a..8b9f9ad7 100644
--- a/src/libs/engine/Patch.hpp
+++ b/src/libs/engine/Patch.hpp
@@ -34,6 +34,8 @@ using Raul::List;
namespace Ingen {
+namespace Shared { class Connection; }
+
class ConnectionImpl;
class Engine;
class CompiledPatch;
@@ -85,8 +87,8 @@ public:
// Patch specific stuff not inherited from Node
- typedef List< SharedPtr<ConnectionImpl> > Connections;
- typedef List<NodeImpl*> Nodes;
+ typedef List< SharedPtr<Shared::Connection> > Connections;
+ typedef List<NodeImpl*> Nodes;
void add_node(Nodes::Node* tn);
Nodes::Node* remove_node(const string& name);