diff options
author | David Robillard <d@drobilla.net> | 2007-10-08 01:38:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-08 01:38:38 +0000 |
commit | 9d9efa215c52a6b75eef7e9a8b088b11dfd76a07 (patch) | |
tree | 7983e607cf87ddd4b1e099eedfb218880805717d /src/libs/client/Store.hpp | |
parent | a421a44310ee472fbee15f150d32b826a8371dbf (diff) | |
download | ingen-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/client/Store.hpp')
-rw-r--r-- | src/libs/client/Store.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/client/Store.hpp b/src/libs/client/Store.hpp index af241097..26aac803 100644 --- a/src/libs/client/Store.hpp +++ b/src/libs/client/Store.hpp @@ -81,7 +81,7 @@ private: void add_orphan(SharedPtr<ObjectModel> orphan); void resolve_orphans(SharedPtr<ObjectModel> parent); - void add_connection_orphan(SharedPtr<ConnectionModel> orphan); + void add_connection_orphan(std::pair<Path, Path> orphan); void resolve_connection_orphans(SharedPtr<PortModel> port); void add_plugin_orphan(SharedPtr<NodeModel> orphan); @@ -108,6 +108,8 @@ private: void connection_event(const Path& src_port_path, const Path& dst_port_path); void disconnection_event(const Path& src_port_path, const Path& dst_port_path); + bool attempt_connection(const Path& src_port_path, const Path& dst_port_path, bool add_orphan=false); + SharedPtr<EngineInterface> _engine; SharedPtr<SigClientInterface> _emitter; @@ -126,7 +128,7 @@ private: Raul::PathTable<list<std::pair<string, Atom> > > _metadata_orphans; /** Ditto */ - list<SharedPtr<ConnectionModel> > _connection_orphans; + list<std::pair<Path, Path> > _connection_orphans; }; |