aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/AsyncInputStream.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/AsyncInputStream.hxx')
-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 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