From a8b36b5637acb3fa8eb29ef0f45bd11653f412fa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Aug 2008 03:23:15 +0000 Subject: Factor out common store functionality. Make store is-a Table and ditch store->objects() thing everywhere. Use a separate store in the client (fix ingen -eg). git-svn-id: http://svn.drobilla.net/lad/ingen@1397 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/ClientStore.hpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/libs/client/ClientStore.hpp') diff --git a/src/libs/client/ClientStore.hpp b/src/libs/client/ClientStore.hpp index 24c23f14..4871c644 100644 --- a/src/libs/client/ClientStore.hpp +++ b/src/libs/client/ClientStore.hpp @@ -62,23 +62,9 @@ public: void clear(); - size_t num_object() { return _objects.size(); } - - Objects::iterator find(const Path& path) { return _objects.find(path); } - typedef Raul::Table > Plugins; const Plugins& plugins() const { return _plugins; } - typedef Raul::PathTable< SharedPtr > Objects; - const Objects& objects() const { return _objects; } - Objects& objects() { return _objects; } - - Objects::const_iterator children_begin(SharedPtr o) const; - Objects::const_iterator children_end(SharedPtr o) const; - - SharedPtr find_child(SharedPtr parent, - const string& child_name) const; - sigc::signal > signal_new_object; sigc::signal > signal_new_plugin; @@ -130,7 +116,6 @@ private: SharedPtr _engine; SharedPtr _emitter; - Objects _objects; ///< Map, keyed by Ingen path Plugins _plugins; ///< Map, keyed by plugin URI /** Objects we've received, but depend on the existance of another unknown object. -- cgit v1.2.1