From e9d9569271ee962c09ab66c6babed1ca5655a6c6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Mar 2012 02:28:21 +0000 Subject: Unify event response mechanism and make it more appropriate for wire transmission. The downside being more cryptic error messages until the client side error reporting stuff gets more fancy, but the important part is that belongs client side. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4053 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/App.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/App.hpp') diff --git a/src/gui/App.hpp b/src/gui/App.hpp index 69bcd793..5ca767e9 100644 --- a/src/gui/App.hpp +++ b/src/gui/App.hpp @@ -28,6 +28,7 @@ #include "raul/SharedPtr.hpp" #include "raul/Deletable.hpp" +#include "ingen/Status.hpp" #include "ingen/shared/World.hpp" namespace Ingen { @@ -135,7 +136,7 @@ protected: App(Ingen::Shared::World* world); bool animate(); - void error_response(int32_t id, const std::string& str); + void response(int32_t id, Ingen::Status status); void property_change(const Raul::URI& subject, const Raul::URI& key, -- cgit v1.2.1