diff options
Diffstat (limited to 'platform/android/src/style/formatted.hpp')
-rw-r--r-- | platform/android/src/style/formatted.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/platform/android/src/style/formatted.hpp b/platform/android/src/style/formatted.hpp new file mode 100644 index 0000000000..ca91f6562c --- /dev/null +++ b/platform/android/src/style/formatted.hpp @@ -0,0 +1,23 @@ +#pragma once + +#include <mbgl/util/noncopyable.hpp> + +#include <jni/jni.hpp> +#include <mbgl/style/expression/formatted.hpp> + +namespace mbgl { + namespace android { + + using SuperTag = jni::ObjectTag; + class Formatted : private mbgl::util::noncopyable { + public: + static constexpr auto Name() { return "com/mapbox/mapboxsdk/style/types/Formatted"; }; + + static jni::Local<jni::Object<Formatted>> + New(jni::JNIEnv&, const style::expression::Formatted &value); + + static void registerNative(jni::JNIEnv &); + }; + + } // namespace android +} // namespace mbgl
\ No newline at end of file |