Index: src/org/adblockplus/libadblockplus/FilterEngine.java |
=================================================================== |
--- a/src/org/adblockplus/libadblockplus/FilterEngine.java |
+++ b/src/org/adblockplus/libadblockplus/FilterEngine.java |
@@ -72,6 +72,16 @@ |
return fetchAvailableSubscriptions(this.ptr); |
} |
+ public void removeUpdateAvailableCallback() |
+ { |
+ removeUpdateAvailableCallback(this.ptr); |
+ } |
+ |
+ public void setUpdateAvailableCallback(final UpdateAvailableCallback callback) |
+ { |
+ setUpdateAvailableCallback(this.ptr, callback.ptr); |
+ } |
+ |
public void removeFilterChangeCallback() |
{ |
removeFilterChangeCallback(this.ptr); |
@@ -155,6 +165,10 @@ |
private final static native List<Subscription> fetchAvailableSubscriptions(long ptr); |
+ private final static native void removeUpdateAvailableCallback(long ptr); |
+ |
+ private final static native void setUpdateAvailableCallback(long ptr, long filterPtr); |
+ |
private final static native void removeFilterChangeCallback(long ptr); |
private final static native void setFilterChangeCallback(long ptr, long filterPtr); |