decoder/Client: new interface which wraps struct Decoder

Prepare for a Decoder API redesign based on an abstract class with
virtual methods.
This commit is contained in:
Max Kellermann
2016-11-18 07:13:35 +01:00
parent 595d1942cb
commit fd77acc217
46 changed files with 460 additions and 407 deletions

View File

@@ -26,8 +26,8 @@
#include <stdint.h>
struct Decoder;
struct TagHandler;
class DecoderClient;
class InputStream;
struct DsdId {
@@ -60,11 +60,11 @@ public:
};
bool
dsdlib_skip_to(Decoder *decoder, InputStream &is,
dsdlib_skip_to(DecoderClient *client, InputStream &is,
offset_type offset);
bool
dsdlib_skip(Decoder *decoder, InputStream &is,
dsdlib_skip(DecoderClient *client, InputStream &is,
offset_type delta);
/**