diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-12-12 13:19:35 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-12-12 22:34:52 +0200 |
commit | c0e18ad80c56d6197cb0e5f1e29384ad54491dbb (patch) | |
tree | 0d667c35f861ebc427be8e245ce42dea85e42a83 /src/mbgl | |
parent | ce5ed9e6498a832f070400fb281e46cd04e39ea1 (diff) | |
download | qtlocation-mapboxgl-c0e18ad80c56d6197cb0e5f1e29384ad54491dbb.tar.gz |
[core] Added BidiImpl to avoid ICU types exposure
Diffstat (limited to 'src/mbgl')
-rw-r--r-- | src/mbgl/text/bidi.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mbgl/text/bidi.hpp b/src/mbgl/text/bidi.hpp index 8cbe079e57..6c209c427c 100644 --- a/src/mbgl/text/bidi.hpp +++ b/src/mbgl/text/bidi.hpp @@ -3,14 +3,14 @@ #include <set> #include <string> #include <vector> +#include <memory> #include <mbgl/util/noncopyable.hpp> -struct UBiDi; - namespace mbgl { class BiDi; +class BiDiImpl; std::u16string applyArabicShaping(const std::u16string&); @@ -40,8 +40,7 @@ public: private: std::u16string getLine(int32_t start, int32_t end); - UBiDi* bidiText; - UBiDi* bidiLine; + std::unique_ptr<BiDiImpl> impl; }; } // end namespace mbgl |