diff options
author | David Robillard <d@drobilla.net> | 2007-07-26 16:19:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-26 16:19:58 +0000 |
commit | 6af49fb89facc67f369ede8cce6c315fd705d3cc (patch) | |
tree | 2ac10884581eccf828e8ad96f33d619bbff2b0ba /src/libs/client/Store.hpp | |
parent | f7368e7850307de97b024238a4f520afe1150c8b (diff) | |
download | ingen-6af49fb89facc67f369ede8cce6c315fd705d3cc.tar.gz ingen-6af49fb89facc67f369ede8cce6c315fd705d3cc.tar.bz2 ingen-6af49fb89facc67f369ede8cce6c315fd705d3cc.zip |
Fix various Table bugs (and put some way too slow code in there, but hey, it works).
Use PathTable for models on the client side.
Implement renaming on client side.
git-svn-id: http://svn.drobilla.net/lad/ingen@636 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/Store.hpp')
-rw-r--r-- | src/libs/client/Store.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/client/Store.hpp b/src/libs/client/Store.hpp index 627d6f8a..25398eaa 100644 --- a/src/libs/client/Store.hpp +++ b/src/libs/client/Store.hpp @@ -25,7 +25,7 @@ #include <sigc++/sigc++.h> #include <raul/Path.hpp> #include <raul/Atom.hpp> -#include <raul/Table.hpp> +#include <raul/PathTable.hpp> #include <raul/TableImpl.hpp> #include "interface/EngineInterface.hpp" using std::string; using std::list; @@ -63,7 +63,7 @@ public: typedef Raul::Table<string, SharedPtr<PluginModel> > Plugins; const Plugins& plugins() const { return _plugins; } - typedef Raul::Table<Path, SharedPtr<ObjectModel> > Objects; + typedef Raul::PathTable<SharedPtr<ObjectModel> > Objects; const Objects& objects() const { return _objects; } sigc::signal<void, SharedPtr<ObjectModel> > new_object_sig; @@ -113,14 +113,14 @@ private: /** Objects we've received, but depend on the existance of another unknown object. * Keyed by the path of the depended-on object (for tolerance of orderless comms) */ - Raul::Table<Path, list<SharedPtr<ObjectModel> > > _orphans; + Raul::PathTable<list<SharedPtr<ObjectModel> > > _orphans; /** Same idea, except with plugins instead of parents. * It's unfortunate everything doesn't just have a URI and this was the same.. ahem.. */ Raul::Table<string, list<SharedPtr<NodeModel> > > _plugin_orphans; /** Not orphans OF metadata like the above, but orphans which are metadata */ - Raul::Table<Path, list<std::pair<string, Atom> > > _metadata_orphans; + Raul::PathTable<list<std::pair<string, Atom> > > _metadata_orphans; /** Ditto */ list<SharedPtr<ConnectionModel> > _connection_orphans; |