Fix:map_csv:Disable default notification of each deleted item.
[profile/ivi/navit.git] / navit / navit / android.h
index aa34718..84643e7 100644 (file)
@@ -1,6 +1,23 @@
+#ifdef HAVE_API_ANDROID
+
 #include <jni.h>
 extern JNIEnv *jnienv;
 extern jobject *android_activity;
+extern int android_version;
 int android_find_class_global(char *name, jclass *ret);
 int android_find_method(jclass class, char *name, char *args, jmethodID *ret);
 int android_find_static_method(jclass class, char *name, char *args, jmethodID *ret);
+
+struct jni_object {
+       JNIEnv* env;
+       jobject jo;
+       jmethodID jm;
+};
+
+#else
+
+struct jni_object {
+       int dummy;
+};
+
+#endif