diff options
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 |
