summaryrefslogtreecommitdiff
path: root/src/client/Response.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-02-07 16:52:59 +0100
committerMax Kellermann <max@musicpd.org>2017-02-08 09:06:11 +0100
commit29453ba196db55816ee10fa9908c3e3fa0acd40f (patch)
tree894470833ed3f549a6ab4458a734ba8657c771c4 /src/client/Response.cxx
parent599d77643b57246dc877a2bbf65b932575fbf2c7 (diff)
client: add tag_mask attribute
The "tagtypes" command now has several sub commands which can be used to edit that mask.
Diffstat (limited to 'src/client/Response.cxx')
-rw-r--r--src/client/Response.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/Response.cxx b/src/client/Response.cxx
index 31eb6a78e..b21ac91b5 100644
--- a/src/client/Response.cxx
+++ b/src/client/Response.cxx
@@ -23,6 +23,12 @@
#include "util/FormatString.hxx"
#include "util/AllocatedString.hxx"
+TagMask
+Response::GetTagMask() const
+{
+ return GetClient().tag_mask;
+}
+
bool
Response::Write(const void *data, size_t length)
{