diff options
author | Max Kellermann <max@musicpd.org> | 2017-02-07 16:52:59 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-02-08 09:06:11 +0100 |
commit | 29453ba196db55816ee10fa9908c3e3fa0acd40f (patch) | |
tree | 894470833ed3f549a6ab4458a734ba8657c771c4 /src/client/Client.hxx | |
parent | 599d77643b57246dc877a2bbf65b932575fbf2c7 (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/Client.hxx')
-rw-r--r-- | src/client/Client.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/Client.hxx b/src/client/Client.hxx index 759e611d9..7ce128ce3 100644 --- a/src/client/Client.hxx +++ b/src/client/Client.hxx @@ -23,6 +23,7 @@ #include "check.h" #include "ClientMessage.hxx" #include "command/CommandListBuilder.hxx" +#include "tag/Mask.hxx" #include "event/FullyBufferedSocket.hxx" #include "event/TimeoutMonitor.hxx" #include "Compiler.h" @@ -71,6 +72,11 @@ public: unsigned idle_subscriptions; /** + * The tags this client is interested in. + */ + TagMask tag_mask = TagMask::All(); + + /** * A list of channel names this client is subscribed to. */ std::set<std::string> subscriptions; |