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/PatchModel.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/PatchModel.hpp')
-rw-r--r-- | src/libs/client/PatchModel.hpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/libs/client/PatchModel.hpp b/src/libs/client/PatchModel.hpp index 21e89cee..1c35b959 100644 --- a/src/libs/client/PatchModel.hpp +++ b/src/libs/client/PatchModel.hpp @@ -41,7 +41,9 @@ class Store; class PatchModel : public NodeModel { public: - const ConnectionList& connections() const { return _connections; } + typedef std::list<SharedPtr<ConnectionModel> > Connections; + + const Connections& connections() const { return _connections; } SharedPtr<ConnectionModel> get_connection(const string& src_port_path, const string& dst_port_path) const; SharedPtr<NodeModel> get_node(const string& node_name) const; @@ -97,11 +99,11 @@ private: void rename_node(const Path& old_path, const Path& new_path); void rename_node_port(const Path& old_path, const Path& new_path); - ConnectionList _connections; - string _filename; - bool _enabled; - size_t _poly; - bool _editable; + Connections _connections; + string _filename; + bool _enabled; + size_t _poly; + bool _editable; }; typedef Table<string, SharedPtr<PatchModel> > PatchModelMap; |