Index: include/AdblockPlus/FilterEngine.h |
diff --git a/include/AdblockPlus/FilterEngine.h b/include/AdblockPlus/FilterEngine.h |
index a058bdbe55c4811696e29768d2f06fd517d26812..bbfb2e1202ebe7f0eb41d631bade10dd8b102d46 100644 |
--- a/include/AdblockPlus/FilterEngine.h |
+++ b/include/AdblockPlus/FilterEngine.h |
@@ -118,6 +118,19 @@ namespace AdblockPlus |
Subscription& operator=(Subscription&& src); |
/** |
+ * Checks if the subscription is disabled. |
+ * @return `true` if this subscription is disabled. |
+ */ |
+ bool IsDisabled() const; |
+ |
+ /** |
+ * Allows to enable or disable current subscription. |
+ * @param `value` disabling the subscription if true and enabling if false. |
+ * If the previous state was the same then it has no effect. |
+ */ |
+ void SetDisabled(bool value); |
+ |
+ /** |
* Checks if this subscription has been added to the list of subscriptions. |
* @return `true` if this subscription has been added. |
*/ |