Index: libadblockplus-android/jni/JniFilter.h |
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java b/libadblockplus-android/jni/JniFilter.h |
similarity index 76% |
copy from libadblockplus-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java |
copy to libadblockplus-android/jni/JniFilter.h |
index a7988cb8b932e37f6014c4b55763ac95357e5662..b124e0f875d6b76929468edc9c452c82a2b6a21b 100644 |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java |
+++ b/libadblockplus-android/jni/JniFilter.h |
@@ -15,12 +15,13 @@ |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
-package org.adblockplus.libadblockplus; |
anton
2016/09/23 13:07:09
rietveld bug - the file did not exist before
|
+#ifndef JNIFILTER_H |
+#define JNIFILTER_H |
-public class NoOpUpdaterCallback extends UpdateCheckDoneCallback |
-{ |
- @Override |
- public void updateCheckDoneCallback(String error) |
- { |
- } |
-} |
+#include <jni.h> |
+ |
+void JniFilter_OnLoad(JavaVM* vm, JNIEnv* env, void* reserved); |
+ |
+void JniFilter_OnUnload(JavaVM* vm, JNIEnv* env, void* reserved); |
+ |
+#endif /* JNIFILTER_H */ |