blob: 030ac88ce2a0c30fe80f9eea757c7fde78520f89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include <string>
#include <mbgl/util/noncopyable.hpp>
#include <unicode/ubiditransform.h>
namespace mbgl {
class BiDi : private util::noncopyable {
public:
BiDi();
~BiDi();
std::u16string bidiTransform(const std::u16string&);
bool baseDirectionRightToLeft(const std::u16string&);
private:
UBiDiTransform* transform;
};
} // end namespace mbgl
|