41 lines
808 B
C++
41 lines
808 B
C++
#ifndef MBGL_ANDROID_JNI
|
|
#define MBGL_ANDROID_JNI
|
|
|
|
#include <string>
|
|
#include <jni.h>
|
|
|
|
namespace mbgl {
|
|
namespace android {
|
|
|
|
extern std::string cachePath;
|
|
extern std::string dataPath;
|
|
extern std::string apkPath;
|
|
|
|
extern jmethodID onMapChangedId;
|
|
extern jmethodID onFpsChangedId;
|
|
|
|
extern jclass lonLatClass;
|
|
extern jmethodID lonLatConstructorId;
|
|
extern jfieldID lonLatLonId;
|
|
extern jfieldID lonLatLatId;
|
|
|
|
extern jclass lonLatZoomClass;
|
|
extern jmethodID lonLatZoomConstructorId;
|
|
extern jfieldID lonLatZoomLonId;
|
|
extern jfieldID lonLatZoomLatId;
|
|
extern jfieldID lonLatZoomZoomId;
|
|
|
|
extern jclass runtimeExceptionClass;
|
|
extern jclass nullPointerExceptionClass;;
|
|
|
|
extern jmethodID listToArrayId;
|
|
|
|
extern jclass arrayListClass;
|
|
extern jmethodID arrayListConstructorId;
|
|
extern jmethodID arrayListAddId;
|
|
|
|
}
|
|
}
|
|
|
|
#endif
|