diff options
author | Max Kellermann <max@musicpd.org> | 2016-09-09 15:37:06 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-09-09 18:15:01 +0200 |
commit | fc7d3f64c007672e4c01172ccb1c46d083a8abd5 (patch) | |
tree | 3c72f16ee6cc919a17558678a1e270568182b8af /src/input/InputPlugin.hxx | |
parent | 63ab7767a37a99b5651f32e067aeb5fcbb7bd033 (diff) |
input/Plugin: migrate open() from class Error to C++ exceptions
Diffstat (limited to 'src/input/InputPlugin.hxx')
-rw-r--r-- | src/input/InputPlugin.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/input/InputPlugin.hxx b/src/input/InputPlugin.hxx index 08a9d42fd..d33161c93 100644 --- a/src/input/InputPlugin.hxx +++ b/src/input/InputPlugin.hxx @@ -36,7 +36,6 @@ struct ConfigBlock; class InputStream; -class Error; struct Tag; struct InputPlugin { @@ -58,9 +57,11 @@ struct InputPlugin { */ void (*finish)(); + /** + * Throws std::runtime_error on error. + */ InputStream *(*open)(const char *uri, - Mutex &mutex, Cond &cond, - Error &error); + Mutex &mutex, Cond &cond); }; #endif |