summaryrefslogtreecommitdiff
path: root/platform/android/src/style/formatted.hpp
blob: ca91f6562c91e6db4fd0ae4f8fad75b32de62fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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