summaryrefslogtreecommitdiff
path: root/platform/android/src/style/sources/sources.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/style/sources/sources.hpp')
-rw-r--r--platform/android/src/style/sources/sources.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/platform/android/src/style/sources/sources.hpp b/platform/android/src/style/sources/sources.hpp
new file mode 100644
index 0000000000..b967685dfb
--- /dev/null
+++ b/platform/android/src/style/sources/sources.hpp
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <mbgl/style/source.hpp>
+#include <mbgl/util/optional.hpp>
+
+#include <jni/jni.hpp>
+
+namespace mbgl {
+namespace android {
+
+ mbgl::optional<std::unique_ptr<mbgl::style::Source>> convertToNativeSource(jni::JNIEnv& env, jni::Object<jni::jobject> jsource, jni::String id);
+
+}
+} \ No newline at end of file