summaryrefslogtreecommitdiffstats
path: root/src/libs/client/Store.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-21 07:18:40 +0000
committerDavid Robillard <d@drobilla.net>2007-04-21 07:18:40 +0000
commitbd315305771e98eba1d81672a47ce4fe7bcc95cc (patch)
treed8bdf2a4737fe53bf2c37a4bd6fa262b79b0c348 /src/libs/client/Store.h
parent7b2eaa5d9a71ce17dc1407f27bbe325c26cfc128 (diff)
downloadingen-bd315305771e98eba1d81672a47ce4fe7bcc95cc.tar.gz
ingen-bd315305771e98eba1d81672a47ce4fe7bcc95cc.tar.bz2
ingen-bd315305771e98eba1d81672a47ce4fe7bcc95cc.zip
Loading plugins via class-based menu heirarchy in patch context menu.
git-svn-id: http://svn.drobilla.net/lad/ingen@468 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/Store.h')
-rw-r--r--src/libs/client/Store.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/libs/client/Store.h b/src/libs/client/Store.h
index 60bc88c7..2059f55f 100644
--- a/src/libs/client/Store.h
+++ b/src/libs/client/Store.h
@@ -59,8 +59,11 @@ public:
size_t num_object() { return _objects.size(); }
- const map<string, SharedPtr<PluginModel> >& plugins() const { return _plugins; }
- const map<Path, SharedPtr<ObjectModel> >& objects() const { return _objects; }
+ typedef map<string, SharedPtr<PluginModel> > Plugins;
+ const Plugins& plugins() const { return _plugins; }
+
+ typedef map<Path, SharedPtr<ObjectModel> > Objects;
+ const Objects& objects() const { return _objects; }
sigc::signal<void, SharedPtr<ObjectModel> > new_object_sig;
private:
@@ -103,10 +106,9 @@ private:
SharedPtr<EngineInterface> _engine;
SharedPtr<SigClientInterface> _emitter;
- typedef map<Path, SharedPtr<ObjectModel> > ObjectMap;
- ObjectMap _objects; ///< Keyed by Ingen path
- map<string, SharedPtr<PluginModel> > _plugins; ///< Keyed by URI
+ 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.
* Keyed by the path of the depended-on object (for tolerance of orderless comms) */