From efe8e2311ee2fed881f95cc1e72825906d21c7c1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Aug 2012 23:42:17 +0000 Subject: Use ingen:root as the path for the root patch, opening up path space for engine/driver/etc. Strict conversion between Path and URI (Path no longer is-a URI). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4672 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/Event.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/server/Event.hpp') diff --git a/src/server/Event.hpp b/src/server/Event.hpp index 5f2e99bb..e35e1895 100644 --- a/src/server/Event.hpp +++ b/src/server/Event.hpp @@ -23,6 +23,7 @@ #include "raul/Path.hpp" #include "raul/SharedPtr.hpp" +#include "ingen/GraphObject.hpp" #include "ingen/Interface.hpp" #include "ingen/Status.hpp" @@ -106,6 +107,10 @@ protected: return !st; } + inline bool pre_process_done(Status st, const Raul::Path& subject) { + return pre_process_done(st, GraphObject::path_to_uri(subject)); + } + /** Respond to the originating client. */ inline Status respond() { if (_request_client) { -- cgit v1.2.1