Index: libadblockplus-android/src/org/adblockplus/libadblockplus/FilterEngine.java |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/FilterEngine.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/FilterEngine.java |
index 720223e4d5a6363e2c5623722a5159c293bc7e0a..416d569680b70e82eb491a1802d8cd076c7cd5fc 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/FilterEngine.java |
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/FilterEngine.java |
@@ -196,6 +196,14 @@ public final class FilterEngine |
updateFiltersAsync(this.ptr, subscriptionUrl); |
} |
+ /** |
+ * Get FilterEngine pointer |
+ * @return C++ FilterEngine instance pointer |
+ */ |
+ public long getFilterEnginePtr() { |
+ return getFilterEnginePtr(this.ptr); |
+ } |
+ |
private final static native void registerNatives(); |
private final static native boolean isFirstRun(long ptr); |
@@ -253,4 +261,6 @@ public final class FilterEngine |
private final static native String getAcceptableAdsSubscriptionURL(long ptr); |
private final static native void updateFiltersAsync(long ptr, String subscriptionUrl); |
+ |
+ private final static native long getFilterEnginePtr(long ptr); |
} |