summaryrefslogtreecommitdiffstats
path: root/src/server/NodeFactory.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-02 19:33:26 +0000
committerDavid Robillard <d@drobilla.net>2012-05-02 19:33:26 +0000
commitc4fce4b2214cc88978c182d9bdbd4d3bfdf48eca (patch)
tree9d765beb38dee7e12f9409ac5e40dcb50594f337 /src/server/NodeFactory.hpp
parentf3d50e437022f0d2aabcaea056a8203afc3e32c3 (diff)
downloadingen-c4fce4b2214cc88978c182d9bdbd4d3bfdf48eca.tar.gz
ingen-c4fce4b2214cc88978c182d9bdbd4d3bfdf48eca.tar.bz2
ingen-c4fce4b2214cc88978c182d9bdbd4d3bfdf48eca.zip
On-demand loading of individual plugins.
This makes it possible to load a patch, particularly when running as a plugin, without loading every LV2 plugin on the system. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4313 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/NodeFactory.hpp')
-rw-r--r--src/server/NodeFactory.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/NodeFactory.hpp b/src/server/NodeFactory.hpp
index 37e46ddb..2188266b 100644
--- a/src/server/NodeFactory.hpp
+++ b/src/server/NodeFactory.hpp
@@ -42,6 +42,7 @@ public:
explicit NodeFactory(Ingen::Shared::World* world);
~NodeFactory();
+ void load_plugin(const Raul::URI& uri);
void load_plugins();
typedef std::map<Raul::URI, PluginImpl*> Plugins;
@@ -55,10 +56,8 @@ private:
Plugins _plugins;
Ingen::Shared::World* _world;
- bool _has_loaded;
-
SharedPtr<LV2Info> _lv2_info;
-
+ bool _has_loaded;
};
} // namespace Server