summaryrefslogtreecommitdiffstats
path: root/src/server/Event.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Event.hpp')
-rw-r--r--src/server/Event.hpp5
1 files changed, 5 insertions, 0 deletions
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) {