From a95e08e48c2d1f68693609627c6d6f52c6982264 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 06:14:40 +0000 Subject: Generic simple query system for both objects and plugins. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1997 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/RequestMetadataEvent.hpp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'src/engine/events/RequestMetadataEvent.hpp') diff --git a/src/engine/events/RequestMetadataEvent.hpp b/src/engine/events/RequestMetadataEvent.hpp index 5b163500..df1b1acd 100644 --- a/src/engine/events/RequestMetadataEvent.hpp +++ b/src/engine/events/RequestMetadataEvent.hpp @@ -23,7 +23,9 @@ #include "raul/URI.hpp" namespace Ingen { - + +namespace Shared { class ResourceImpl; } + class GraphObjectImpl; @@ -38,7 +40,7 @@ public: SharedPtr responder, SampleCount timestamp, bool property, - const Raul::Path& path, + const Raul::URI& path, const Raul::URI& key); void pre_process(); @@ -46,16 +48,17 @@ public: void post_process(); private: + enum { NO_ERROR, NOT_FOUND } _error; enum { NONE, PORT_VALUE } _special_type; - Raul::Path _path; - bool _property; - Raul::URI _key; - Raul::Atom _value; - GraphObjectImpl* _object; + Raul::URI _uri; + Raul::URI _key; + Raul::Atom _value; + Shared::ResourceImpl* _resource; + bool _is_property; }; -- cgit v1.2.1