input/Plugin: migrate open() from class Error to C++ exceptions

This commit is contained in:
Max Kellermann
2016-09-09 15:37:06 +02:00
parent 63ab7767a3
commit fc7d3f64c0
44 changed files with 359 additions and 461 deletions

View File

@@ -20,15 +20,15 @@
#ifndef MPD_INPUT_ARCHIVE_HXX
#define MPD_INPUT_ARCHIVE_HXX
class InputStream;
#include "input/Ptr.hxx"
class Path;
class Mutex;
class Cond;
class Error;
extern const struct InputPlugin input_plugin_archive;
InputStream *
OpenArchiveInputStream(Path path, Mutex &mutex, Cond &cond, Error &error);
InputStreamPtr
OpenArchiveInputStream(Path path, Mutex &mutex, Cond &cond);
#endif