summaryrefslogtreecommitdiff
path: root/platform/android/src/style/functions/exponential_stops.hpp
blob: 391d723cef0c2ecb07065a28889fd5494155b74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include <mbgl/util/noncopyable.hpp>
#include <jni/jni.hpp>

#include "../../java/lang.hpp"
#include "stop.hpp"

namespace mbgl {
namespace android {

class ExponentialStops : private mbgl::util::noncopyable {
public:
    static constexpr auto Name() { return "com/mapbox/mapboxsdk/style/functions/stops/ExponentialStops"; };

    static jni::Object<ExponentialStops> New(jni::JNIEnv&, jni::Object<java::lang::Float>, jni::Array<jni::Object<Stop>>);

    static jni::Class<ExponentialStops> javaClass;

    static void registerNative(jni::JNIEnv&);
};

} // namespace android
} // namespace mbgl