summaryrefslogtreecommitdiff
path: root/platform/android/src/style/formatted_section.hpp
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2018-09-28 09:05:41 +0200
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2018-10-24 13:35:36 +0200
commit12b496945498358b7afb4af1efe4ae0c52b9c7d3 (patch)
treec4d4c31cbccfb39bcc8a4fd6a2a09f627173a56b /platform/android/src/style/formatted_section.hpp
parent78a1c30e80c70f36ffec8193753919277418a3ca (diff)
downloadqtlocation-mapboxgl-12b496945498358b7afb4af1efe4ae0c52b9c7d3.tar.gz
[android] "format" expression support
Diffstat (limited to 'platform/android/src/style/formatted_section.hpp')
-rw-r--r--platform/android/src/style/formatted_section.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/platform/android/src/style/formatted_section.hpp b/platform/android/src/style/formatted_section.hpp
new file mode 100644
index 0000000000..f759a94e8e
--- /dev/null
+++ b/platform/android/src/style/formatted_section.hpp
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <mbgl/util/noncopyable.hpp>
+
+#include <jni/jni.hpp>
+
+namespace mbgl {
+namespace android {
+
+class FormattedSection : private mbgl::util::noncopyable {
+public:
+ static constexpr auto Name() { return "com/mapbox/mapboxsdk/style/types/FormattedSection"; };
+
+ static void registerNative(jni::JNIEnv&);
+};
+
+} // namespace android
+} // namespace mbgl \ No newline at end of file