input/async: add method IsPaused()

This commit is contained in:
Max Kellermann 2014-09-02 20:02:56 +02:00
parent 68bdfa9d0e
commit 5121316036
1 changed files with 4 additions and 0 deletions

View File

@ -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