Index: src/org/adblockplus/libadblockplus/FilterEngine.java |
diff --git a/src/org/adblockplus/libadblockplus/FilterEngine.java b/src/org/adblockplus/libadblockplus/FilterEngine.java |
index 718197ac89c090976fd24ffb5741e82a9c94ce13..05ea17028eacc5a7efe62ca27127a3ee44465e55 100644 |
--- a/src/org/adblockplus/libadblockplus/FilterEngine.java |
+++ b/src/org/adblockplus/libadblockplus/FilterEngine.java |
@@ -122,6 +122,16 @@ public final class FilterEngine implements Disposable |
return getPref(this.ptr, pref); |
} |
+ public Notification getNextNotificationToShow(String url) |
+ { |
+ return getNextNotificationToShow(this.ptr, url); |
+ } |
+ |
+ public Notification getNextNotificationToShow() |
+ { |
+ return this.getNextNotificationToShow(null); |
+ } |
+ |
public void setPref(final String pref, final JsValue value) |
{ |
setPref(this.ptr, pref, value.ptr); |
@@ -183,6 +193,8 @@ public final class FilterEngine implements Disposable |
private final static native Filter matches(long ptr, String url, ContentType contentType, String[] documentUrls); |
+ private final static native Notification getNextNotificationToShow(long ptr, String url); |
+ |
private final static native void setPref(long ptr, String pref, long valuePtr); |
private final static native void dtor(long ptr); |