aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-adblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-adblock.h')
-rw-r--r--lib/ephy-adblock.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ephy-adblock.h b/lib/ephy-adblock.h
index f102a1961..3e4bb50ba 100644
--- a/lib/ephy-adblock.h
+++ b/lib/ephy-adblock.h
@@ -66,6 +66,10 @@ struct _EphyAdBlockIface
gboolean (* should_load) (EphyAdBlock *adblock,
const char *url,
AdUriCheckType check_type);
+
+ void (* edit_rule) (EphyAdBlock *adblock,
+ const char *url,
+ gboolean allowed);
};
GType ephy_adblock_get_type (void);
@@ -74,6 +78,10 @@ gboolean ephy_adblock_should_load (EphyAdBlock *adblock,
const char *url,
AdUriCheckType check_type);
+void ephy_adblock_edit_rule (EphyAdBlock *adblock,
+ const char *url,
+ gboolean allowed);
+
G_END_DECLS
#endif