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..c04edfb1d015a18ca8c146e8da988d7a5c44b97d 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 getNotificationToShow(String url) |
+ { |
+ return getNotificationToShow(this.ptr, url); |
+ } |
+ |
+ public Notification getNotificationToShow() |
+ { |
+ return this.getNotificationToShow(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 getNotificationToShow(long ptr, String url); |
+ |
private final static native void setPref(long ptr, String pref, long valuePtr); |
private final static native void dtor(long ptr); |