From ab7456075c7744c8528c2b86cfa77f80d6a04ef1 Mon Sep 17 00:00:00 2001 From: Leith Bade Date: Tue, 4 Aug 2015 12:45:10 +1000 Subject: First pass at tidying up Android annotation code --- include/mbgl/android/jni.hpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'include/mbgl') 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; -- cgit v1.2.1