summaryrefslogtreecommitdiff
path: root/sax/src/utils.hh
blob: 206d00306c7b5a87468e7cf99dbfb7062531471d (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>

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