diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2023-06-13 10:07:16 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2023-06-13 10:07:16 +0200 |
| commit | fc4547b412e28164af1bf8981234c6af959ccc0b (patch) | |
| tree | 061253e7a4f6abaca282223b36d10f0bed8cad23 /sax/src/processor.hh | |
WIP
Diffstat (limited to 'sax/src/processor.hh')
| -rw-r--r-- | sax/src/processor.hh | 27 |
1 files changed, 27 insertions, 0 deletions
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 <memory> +#include <optional> +#include <string> + +namespace modxml { +namespace sax { + +class DecoderFactory; +class Delegate; +class Processor; + +std::unique_ptr<Processor> HIDDEN create_processor( + std::shared_ptr<Delegate> delegate, + std::shared_ptr<DecoderFactory> decoder_factory, + std::optional<std::string> force_encoding, + std::optional<std::size_t> default_buffer_size, + std::optional<std::size_t> max_buffer_size); + +} // namespace sax +} // namespace modxml + +#endif // PROCESSOR_HH |
