From 5791d19a0f56c65ef7b89da80f4bcc3e1cee0c93 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 11 Oct 2007 17:24:49 +0000 Subject: Fix awful plugin loading situation. Don't double-lookup plugins on discovery/load. O(log(n)) plugin searching instead of 2*O(n). Don't keep discovered LADSPA plugins loaded (until a node is instantiated). git-svn-id: http://svn.drobilla.net/lad/ingen@876 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/events/RequestPluginsEvent.hpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/libs/engine/events/RequestPluginsEvent.hpp') diff --git a/src/libs/engine/events/RequestPluginsEvent.hpp b/src/libs/engine/events/RequestPluginsEvent.hpp index ae6a77a9..f6b41d7a 100644 --- a/src/libs/engine/events/RequestPluginsEvent.hpp +++ b/src/libs/engine/events/RequestPluginsEvent.hpp @@ -18,19 +18,12 @@ #ifndef REQUESTPLUGINSEVENT_H #define REQUESTPLUGINSEVENT_H -#include -#include #include "QueuedEvent.hpp" -using std::string; +#include "NodeFactory.hpp" namespace Ingen { -class PluginImpl; class Responder; -namespace Shared { - class ClientInterface; -} using Shared::ClientInterface; - /** A request from a client to send notification of all objects (ie refresh). * @@ -45,7 +38,7 @@ public: void post_process(); private: - std::list _plugins; + NodeFactory::Plugins _plugins; }; -- cgit v1.2.1