diff options
Diffstat (limited to 'src/libs/engine/NodeFactory.hpp')
-rw-r--r-- | src/libs/engine/NodeFactory.hpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/libs/engine/NodeFactory.hpp b/src/libs/engine/NodeFactory.hpp index 2c0b2bb6..b89f1218 100644 --- a/src/libs/engine/NodeFactory.hpp +++ b/src/libs/engine/NodeFactory.hpp @@ -22,6 +22,7 @@ #include "module/module.h" #include <list> +#include <map> #include <string> #include <ladspa.h> #include <pthread.h> @@ -81,10 +82,14 @@ private: #endif Node* load_internal_plugin(const string& plug_label, const string& name, uint32_t poly, Patch* parent, SampleRate srate, size_t buffer_size); + + Glib::Module* library(const string& path); - list<Glib::Module*> _libraries; - list<Plugin*> _internal_plugins; - list<Plugin*> _plugins; // FIXME: make a map + typedef std::map<std::string,Glib::Module*> Libraries; + + Libraries _libraries; + list<Plugin*> _internal_plugins; + list<Plugin*> _plugins; // FIXME: make a map Ingen::Shared::World* _world; bool _has_loaded; |