You've already forked crosspoint-reader
mirror of
https://github.com/crosspoint-reader/crosspoint-reader.git
synced 2026-04-29 10:26:52 -07:00
e8645ed92e
## Summary Fix typos found via `codespell -S *.txt,*.yaml,generate_kerning_ligature_epub.py -L currenty,flate,ser,localy,logicaly,ans,clen,portugues,notin,curren` ## Additional Context * Add any other information that might be helpful for the reviewer (e.g., performance implications, potential risks, specific areas to focus on). --- ### AI Usage While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it helps set the right context for reviewers. Did you use AI tools to help write this code? _**NO**_ --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
24 lines
473 B
C++
24 lines
473 B
C++
#pragma once
|
|
|
|
#include <Stream.h>
|
|
|
|
#include "OpdsParser.h"
|
|
|
|
class OpdsParserStream : public Stream {
|
|
public:
|
|
explicit OpdsParserStream(OpdsParser& parser);
|
|
|
|
// That functions are not implemented for that stream
|
|
int available() override;
|
|
int peek() override;
|
|
int read() override;
|
|
|
|
virtual size_t write(uint8_t c) override;
|
|
virtual size_t write(const uint8_t* buffer, size_t size) override;
|
|
|
|
~OpdsParserStream() override;
|
|
|
|
private:
|
|
OpdsParser& parser;
|
|
};
|