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/events/CreateNodeEvent.hpp | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'src/engine/events/CreateNodeEvent.hpp') diff --git a/src/engine/events/CreateNodeEvent.hpp b/src/engine/events/CreateNodeEvent.hpp index 61fd2c5c..cba84cd0 100644 --- a/src/engine/events/CreateNodeEvent.hpp +++ b/src/engine/events/CreateNodeEvent.hpp @@ -18,13 +18,8 @@ #ifndef CREATENODEEVENT_H #define CREATENODEEVENT_H -#include "QueuedEvent.hpp" -#include "raul/Path.hpp" #include -using std::string; - -namespace Raul { template class Array; } -template class TreeNode; +#include "QueuedEvent.hpp" namespace Ingen { @@ -43,8 +38,8 @@ public: CreateNodeEvent(Engine& engine, SharedPtr responder, SampleCount timestamp, - const string& node_path, - const string& plugin_uri, + const Raul::Path& node_path, + const Raul::URI& plugin_uri, bool poly); void pre_process(); @@ -52,12 +47,11 @@ public: void post_process(); private: - string _patch_name; Raul::Path _path; - string _plugin_uri; ///< If nonempty then type, library, label, are ignored - string _plugin_type; - string _plugin_lib; - string _plugin_label; + Raul::URI _plugin_uri; ///< If nonempty then type, library, label, are ignored + std::string _plugin_type; + std::string _plugin_lib; + std::string _plugin_label; bool _polyphonic; PatchImpl* _patch; NodeImpl* _node; -- cgit v1.2.1