summaryrefslogtreecommitdiff
path: root/sax/src/utils.hh
diff options
context:
space:
mode:
Diffstat (limited to 'sax/src/utils.hh')
-rw-r--r--sax/src/utils.hh22
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