From fc4547b412e28164af1bf8981234c6af959ccc0b Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 13 Jun 2023 10:07:16 +0200 Subject: WIP --- sax/src/processor.hh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sax/src/processor.hh (limited to 'sax/src/processor.hh') diff --git a/sax/src/processor.hh b/sax/src/processor.hh new file mode 100644 index 0000000..4a2de29 --- /dev/null +++ b/sax/src/processor.hh @@ -0,0 +1,27 @@ +#ifndef PROCESSOR_HH +#define PROCESSOR_HH + +#include "macros.hh" + +#include +#include +#include + +namespace modxml { +namespace sax { + +class DecoderFactory; +class Delegate; +class Processor; + +std::unique_ptr HIDDEN create_processor( + std::shared_ptr delegate, + std::shared_ptr decoder_factory, + std::optional force_encoding, + std::optional default_buffer_size, + std::optional max_buffer_size); + +} // namespace sax +} // namespace modxml + +#endif // PROCESSOR_HH -- cgit v1.2.3-70-g09d2