aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-02 13:00:25 +0100
committerMax Kellermann <max@duempel.org>2014-11-02 13:00:28 +0100
commita2eb14f3b379c966b259825c91c154f475f13eb6 (patch)
treec7427f44d3289f21285b0ad5b2076a869cb76d95
parent05c63af7c473de374406d76e146d73245de10a2b (diff)
downloadmpd-a2eb14f3b379c966b259825c91c154f475f13eb6.tar.gz
mpd-a2eb14f3b379c966b259825c91c154f475f13eb6.tar.xz
mpd-a2eb14f3b379c966b259825c91c154f475f13eb6.zip
AsyncInputStream: add method ClearTag()
Diffstat (limited to '')
-rw-r--r--src/input/AsyncInputStream.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/AsyncInputStream.hxx b/src/input/AsyncInputStream.hxx
index 7935f1a17..d1f0c3b9d 100644
--- a/src/input/AsyncInputStream.hxx
+++ b/src/input/AsyncInputStream.hxx
@@ -83,6 +83,10 @@ protected:
*/
void SetTag(Tag *_tag);
+ void ClearTag() {
+ SetTag(nullptr);
+ }
+
void Pause();
bool IsPaused() const {