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/utils.hh | |
WIP
Diffstat (limited to 'sax/src/utils.hh')
| -rw-r--r-- | sax/src/utils.hh | 22 |
1 files changed, 22 insertions, 0 deletions
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 <memory> +#include <string> + +namespace modxml { +namespace sax { + +class Decoder; +class DecoderFactory; + +std::unique_ptr<Decoder> HIDDEN pick_decoder_for_encoding( + std::string const& encoding, + DecoderFactory* factory); + +} // namespace sax +} // namespace modxml + +#endif // UTILS_HH |
