Index: src/FilterEngine.cpp |
diff --git a/src/FilterEngine.cpp b/src/FilterEngine.cpp |
index 01c1f24c7a45a509c64717d2a0561ef9d997543c..caad7ada91a76c8376356ae2f75757cad6a8995d 100644 |
--- a/src/FilterEngine.cpp |
+++ b/src/FilterEngine.cpp |
@@ -134,6 +134,16 @@ bool Subscription::IsListed() const |
return func.Call(*this).AsBool(); |
} |
+bool Subscription::IsDisabled() const |
+{ |
+ return GetProperty("disabled").AsBool(); |
+} |
+ |
+void Subscription::SetDisabled(bool value) |
+{ |
+ return SetProperty("disabled", value); |
+} |
+ |
void Subscription::AddToList() |
{ |
JsValue func = jsEngine->Evaluate("API.addSubscriptionToList"); |