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/utils.hh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sax/src/utils.hh (limited to 'sax/src/utils.hh') diff --git a/sax/src/utils.hh b/sax/src/utils.hh new file mode 100644 index 0000000..206d003 --- /dev/null +++ b/sax/src/utils.hh @@ -0,0 +1,22 @@ +#ifndef UTILS_HH +#define UTILS_HH + +#include "macros.hh" + +#include +#include + +namespace modxml { +namespace sax { + +class Decoder; +class DecoderFactory; + +std::unique_ptr HIDDEN pick_decoder_for_encoding( + std::string const& encoding, + DecoderFactory* factory); + +} // namespace sax +} // namespace modxml + +#endif // UTILS_HH -- cgit v1.2.3-70-g09d2