diff options
author | David Robillard <d@drobilla.net> | 2009-05-13 04:05:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-13 04:05:32 +0000 |
commit | 19928bb583e72802746b89e322f71ecc0fcb7427 (patch) | |
tree | 95912dc84d8c9dcf57939398514feaf148c1cd63 /src/engine/NodeFactory.hpp | |
parent | 96f839e64de70a23210847e322d24690299287fe (diff) | |
download | ingen-19928bb583e72802746b89e322f71ecc0fcb7427.tar.gz ingen-19928bb583e72802746b89e322f71ecc0fcb7427.tar.bz2 ingen-19928bb583e72802746b89e322f71ecc0fcb7427.zip |
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
Diffstat (limited to 'src/engine/NodeFactory.hpp')
-rw-r--r-- | src/engine/NodeFactory.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
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 <list> #include <map> #include <string> #include <pthread.h> #include <glibmm/module.h> - -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<std::string,PluginImpl*> Plugins; + typedef std::map<Raul::URI, PluginImpl*> 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 |