decoder/Client: add OpenUri(), replacing decoder_open_uri()

This commit is contained in:
Max Kellermann
2016-11-18 12:34:04 +01:00
parent 1a8c96a3f0
commit 723e54f74e
7 changed files with 18 additions and 21 deletions

View File

@@ -54,16 +54,6 @@ class DecoderClient;
*/
class StopDecoder {};
/**
* Open a new #InputStream and wait until it's ready.
*
* Throws #StopDecoder if DecoderCommand::STOP was received.
*
* Throws std::runtime_error on error.
*/
InputStreamPtr
decoder_open_uri(DecoderClient &decoder, const char *uri);
/**
* Blocking read from the input stream.
*