From 3c5931bb13b5f88edcebb375fa6964dde8b85563 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Jul 2012 15:27:03 +0000 Subject: Report subject with errors to client for more meaningful error messages. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4556 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/client/ThreadedSigClientInterface.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ingen/client/ThreadedSigClientInterface.hpp') diff --git a/ingen/client/ThreadedSigClientInterface.hpp b/ingen/client/ThreadedSigClientInterface.hpp index 71e1b2ee..c321f438 100644 --- a/ingen/client/ThreadedSigClientInterface.hpp +++ b/ingen/client/ThreadedSigClientInterface.hpp @@ -73,8 +73,8 @@ public: void bundle_end() { push_sig(bundle_end_slot); } - void response(int32_t id, Status status) - { push_sig(sigc::bind(response_slot, id, status)); } + void response(int32_t id, Status status, const std::string& subject) + { push_sig(sigc::bind(response_slot, id, status, subject)); } void error(const std::string& msg) { push_sig(sigc::bind(error_slot, msg)); } @@ -149,7 +149,7 @@ private: sigc::slot bundle_begin_slot; sigc::slot bundle_end_slot; - sigc::slot response_slot; + sigc::slot response_slot; sigc::slot error_slot; sigc::slot new_plugin_slot; sigc::slot