From 19928bb583e72802746b89e322f71ecc0fcb7427 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 04:05:32 +0000 Subject: The great ID refactoring of 2009. Path is now actually URI (scheme path: for now). Therefore ingen nodes and such live in the same namespace as ... well, everything. Including plugins. Thar be profit, laddies. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1992 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/NodeFactory.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/engine/NodeFactory.hpp') diff --git a/src/engine/NodeFactory.hpp b/src/engine/NodeFactory.hpp index 08b212fa..05fdf37a 100644 --- a/src/engine/NodeFactory.hpp +++ b/src/engine/NodeFactory.hpp @@ -18,16 +18,14 @@ #ifndef NODEFACTORY_H #define NODEFACTORY_H -#include "ingen-config.h" -#include "module/global.hpp" - #include #include #include #include #include - -using std::string; +#include "ingen-config.h" +#include "module/global.hpp" +#include "raul/URI.hpp" namespace Ingen { @@ -57,13 +55,15 @@ public: void load_plugins(); - typedef std::map Plugins; + typedef std::map Plugins; const Plugins& plugins() const { return _plugins; } - PluginImpl* plugin(const string& uri); + PluginImpl* plugin(const Raul::URI& uri); /** DEPRECATED */ - PluginImpl* plugin(const string& type, const string& lib, const string& label); + PluginImpl* plugin(const std::string& type, + const std::string& lib, + const std::string& label); private: #ifdef HAVE_LADSPA_H -- cgit v1.2.1