summaryrefslogtreecommitdiffstats
path: root/ingen/shared
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-26 15:27:03 +0000
committerDavid Robillard <d@drobilla.net>2012-07-26 15:27:03 +0000
commit3c5931bb13b5f88edcebb375fa6964dde8b85563 (patch)
tree9801897576b7fb9d8a9f700847c670f216fc93b7 /ingen/shared
parentb83ed4f83cf4c9b5054dcf55bea710313c369633 (diff)
downloadingen-3c5931bb13b5f88edcebb375fa6964dde8b85563.tar.gz
ingen-3c5931bb13b5f88edcebb375fa6964dde8b85563.tar.bz2
ingen-3c5931bb13b5f88edcebb375fa6964dde8b85563.zip
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
Diffstat (limited to 'ingen/shared')
-rw-r--r--ingen/shared/AtomWriter.hpp2
-rw-r--r--ingen/shared/ClashAvoider.hpp2
-rw-r--r--ingen/shared/URIs.hpp1
3 files changed, 3 insertions, 2 deletions
diff --git a/ingen/shared/AtomWriter.hpp b/ingen/shared/AtomWriter.hpp
index 585c362a..7087bfd6 100644
--- a/ingen/shared/AtomWriter.hpp
+++ b/ingen/shared/AtomWriter.hpp
@@ -73,7 +73,7 @@ public:
void get(const Raul::URI& uri);
- void response(int32_t id, Status status);
+ void response(int32_t id, Status status, const std::string& subject);
void error(const std::string& msg);
diff --git a/ingen/shared/ClashAvoider.hpp b/ingen/shared/ClashAvoider.hpp
index 40b1bdb6..e3f4faaf 100644
--- a/ingen/shared/ClashAvoider.hpp
+++ b/ingen/shared/ClashAvoider.hpp
@@ -83,7 +83,7 @@ public:
virtual void set_response_id(int32_t id) {}
virtual void get(const Raul::URI& uri) {}
- virtual void response(int32_t id, Status status) {}
+ virtual void response(int32_t id, Status status, const std::string& subject) {}
virtual void error(const std::string& msg) {}
private:
diff --git a/ingen/shared/URIs.hpp b/ingen/shared/URIs.hpp
index 7e27bb34..9e604841 100644
--- a/ingen/shared/URIs.hpp
+++ b/ingen/shared/URIs.hpp
@@ -91,6 +91,7 @@ public:
const Quark ingen_polyphony;
const Quark ingen_prototype;
const Quark ingen_sampleRate;
+ const Quark ingen_status;
const Quark ingen_tail;
const Quark ingen_uiEmbedded;
const Quark ingen_value;