input/InputStream: migrate from class Error to C++ exceptions

This commit is contained in:
Max Kellermann
2016-09-09 18:47:42 +02:00
parent 597e59f10d
commit 8c744efd56
64 changed files with 440 additions and 473 deletions

View File

@@ -24,8 +24,6 @@
#include "lib/xiph/OggVisitor.hxx"
#include "decoder/Reader.hxx"
class Error;
class OggDecoder : public OggVisitor {
ogg_int64_t end_granulepos;
@@ -58,7 +56,7 @@ protected:
return end_granulepos > 0;
}
bool SeekGranulePos(ogg_int64_t where_granulepos, Error &error);
void SeekGranulePos(ogg_int64_t where_granulepos);
};
#endif