summaryrefslogtreecommitdiff
path: root/sax/src/utils.hh
blob: 074f0c07697d6b84708ddc72bd27eb9620765ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef UTILS_HH
#define UTILS_HH

#include "macros.hh"

#include <memory>
#include <string_view>

namespace modxml {
namespace sax {

class Decoder;
class DecoderFactory;

std::unique_ptr<Decoder> HIDDEN pick_decoder_for_encoding(
    std::string_view encoding,
    DecoderFactory* factory);

}  // namespace sax
}  // namespace modxml

#endif  // UTILS_HH