summaryrefslogtreecommitdiff
path: root/include/mbgl
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2015-08-04 12:45:10 +1000
committerLeith Bade <leith@mapbox.com>2015-08-04 13:52:08 +1000
commitab7456075c7744c8528c2b86cfa77f80d6a04ef1 (patch)
tree6ec0d8584c6ceaad84888dbd8055295ea33ae33a /include/mbgl
parent02527ff3f9ac8e7273745061c24ce8e45c1cf801 (diff)
downloadqtlocation-mapboxgl-ab7456075c7744c8528c2b86cfa77f80d6a04ef1.tar.gz
First pass at tidying up Android annotation code
Diffstat (limited to 'include/mbgl')
-rw-r--r--include/mbgl/android/jni.hpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/mbgl/android/jni.hpp b/include/mbgl/android/jni.hpp
index 48e2740b09..f27c8c8449 100644
--- a/include/mbgl/android/jni.hpp
+++ b/include/mbgl/android/jni.hpp
@@ -31,6 +31,29 @@ extern jfieldID latLngZoomLatitudeId;
extern jfieldID latLngZoomLongitudeId;
extern jfieldID latLngZoomZoomId;
+extern jclass markerClass;
+extern jmethodID markerConstructorId;
+extern jfieldID markerPositionId;
+extern jfieldID markerSpriteId;
+
+extern jclass polylineClass;
+extern jmethodID polylineConstructorId;
+extern jfieldID polylineAlphaId;
+extern jfieldID polylineVisibleId;
+extern jfieldID polylineColorId;
+extern jfieldID polylineWidthId;
+extern jfieldID polylinePointsId;
+
+extern jclass polygonClass;
+extern jmethodID polygonConstructorId;
+extern jfieldID polygonAlphaId;
+extern jfieldID polygonVisibleId;
+extern jfieldID polygonFillColorId;
+extern jfieldID polygonStrokeColorId;
+extern jfieldID polygonStrokeWidthId;
+extern jfieldID polygonPointsId;
+extern jfieldID polygonHolesId;
+
extern jclass runtimeExceptionClass;
extern jclass nullPointerExceptionClass;