Files
MapLibreParticleLab/platform/android/src/style/layers/layers.hpp
2017-02-28 09:33:04 -08:00

27 lines
464 B
C++

#pragma once
#include <mbgl/map/map.hpp>
#include <mbgl/style/layer.hpp>
#include "layer.hpp"
#include <jni/jni.hpp>
namespace mbgl {
namespace android {
/**
* Create a non-owning peer
*/
jni::jobject* createJavaLayerPeer(jni::JNIEnv&, mbgl::Map&, mbgl::style::Layer&);
/**
* Create an owning peer
*/
jni::jobject* createJavaLayerPeer(jni::JNIEnv& env, mbgl::Map& map, std::unique_ptr<mbgl::style::Layer>);
void registerNativeLayers(jni::JNIEnv&);
}
}