input/async: add method IsPaused()

This commit is contained in:
Max Kellermann
2014-09-02 20:02:56 +02:00
parent 68bdfa9d0e
commit 5121316036

View File

@@ -85,6 +85,10 @@ protected:
void Pause(); void Pause();
bool IsPaused() const {
return paused;
}
/** /**
* Declare that the underlying stream was closed. We will * Declare that the underlying stream was closed. We will
* continue feeding Read() calls from the buffer until it runs * continue feeding Read() calls from the buffer until it runs