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/SetMetadataEvent.hpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src/engine/events/SetMetadataEvent.hpp') diff --git a/src/engine/events/SetMetadataEvent.hpp b/src/engine/events/SetMetadataEvent.hpp index 09774fe9..e4f64a11 100644 --- a/src/engine/events/SetMetadataEvent.hpp +++ b/src/engine/events/SetMetadataEvent.hpp @@ -18,11 +18,9 @@ #ifndef SETMETADATAEVENT_H #define SETMETADATAEVENT_H -#include -#include "QueuedEvent.hpp" +#include "raul/URI.hpp" #include "raul/Atom.hpp" - -using std::string; +#include "QueuedEvent.hpp" namespace Ingen { @@ -42,8 +40,8 @@ public: SharedPtr responder, SampleCount timestamp, bool property, - const string& path, - const string& key, + const Raul::Path& path, + const Raul::URI& key, const Raul::Atom& value); void pre_process(); @@ -51,7 +49,7 @@ public: void post_process(); private: - enum { NO_ERROR, NOT_FOUND, INTERNAL, INVALID_PATH, BAD_TYPE } _error; + enum { NO_ERROR, NOT_FOUND, INTERNAL, BAD_TYPE } _error; enum { NONE, ENABLE, @@ -62,8 +60,8 @@ private: bool _property; bool _success; - string _path; - string _key; + Raul::Path _path; + Raul::URI _key; Raul::Atom _value; GraphObjectImpl* _object; PatchImpl* _patch; -- cgit v1.2.1