Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: compiled/subscription/Subscription.h

Issue 29606600: Issue 5146 - Implement DownloadableSubscription parsing in C++ (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created Nov. 13, 2017, 10:25 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compiled/subscription/Subscription.h
===================================================================
--- a/compiled/subscription/Subscription.h
+++ b/compiled/subscription/Subscription.h
@@ -76,16 +76,21 @@
Type mType;
const BINDINGS_EXPORTED String& GetID() const
{
return mID;
}
+ Filters& GetFilters()
+ {
+ return mFilters;
+ }
+
SUBSCRIPTION_STRING_PROPERTY(mTitle, SUBSCRIPTION_TITLE, GetTitle, SetTitle);
SUBSCRIPTION_PROPERTY(bool, mDisabled, SUBSCRIPTION_DISABLED,
GetDisabled, SetDisabled);
SUBSCRIPTION_PROPERTY(bool, mListed, NONE, GetListed, SetListed);
Filters::size_type BINDINGS_EXPORTED GetFilterCount() const
{
return mFilters.size();

Powered by Google App Engine
This is Rietveld