From 5121316036ae5af381066474037fc28fbcd63696 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 2 Sep 2014 20:02:56 +0200 Subject: input/async: add method IsPaused() --- src/input/AsyncInputStream.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/input/AsyncInputStream.hxx b/src/input/AsyncInputStream.hxx index 6e0031a0a..7935f1a17 100644 --- a/src/input/AsyncInputStream.hxx +++ b/src/input/AsyncInputStream.hxx @@ -85,6 +85,10 @@ protected: void Pause(); + bool IsPaused() const { + return paused; + } + /** * Declare that the underlying stream was closed. We will * continue feeding Read() calls from the buffer until it runs -- cgit v1.2.3