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

Unified Diff: compiled/bindings/main.cpp

Issue 29573895: Issue 5160 - Alias new class names and properties. (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created Oct. 11, 2017, 7:38 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
« no previous file with comments | « no previous file | lib/subscriptionClasses.js » ('j') | lib/subscriptionClasses.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/bindings/main.cpp
===================================================================
--- a/compiled/bindings/main.cpp
+++ b/compiled/bindings/main.cpp
@@ -99,39 +99,39 @@
.property("listed", &Subscription::GetListed)
.property("filterCount", &Subscription::GetFilterCount)
.function("filterAt", &Subscription::FilterAt)
.function("indexOfFilter", &Subscription::IndexOfFilter)
.function("serialize", &Subscription::Serialize)
.function("serializeFilters", &Subscription::SerializeFilters)
.class_function("fromURL", &Subscription::FromID)
.subclass_differentiator(&Subscription::mType, {
- {Subscription::Type::USERDEFINED, "SpecialSubscription"},
+ {Subscription::Type::USERDEFINED, "UserDefinedSubscription"},
{Subscription::Type::DOWNLOADABLE, "DownloadableSubscription"},
});
- class_<UserDefinedSubscription,Subscription>("SpecialSubscription")
+ class_<UserDefinedSubscription,Subscription>("UserDefinedSubscription")
.function("isDefaultFor", &UserDefinedSubscription::IsDefaultFor)
.function("makeDefaultFor", &UserDefinedSubscription::MakeDefaultFor)
.function("isGeneric", &UserDefinedSubscription::IsGeneric)
.function("insertFilterAt", &UserDefinedSubscription::InsertFilterAt)
.function("removeFilterAt", &UserDefinedSubscription::RemoveFilterAt)
.function("serialize", &UserDefinedSubscription::Serialize);
class_<DownloadableSubscription,Subscription>("DownloadableSubscription")
.property("fixedTitle", &DownloadableSubscription::GetFixedTitle, &DownloadableSubscription::SetFixedTitle)
.property("homepage", &DownloadableSubscription::GetHomepage, &DownloadableSubscription::SetHomepage)
.property("lastCheck", &DownloadableSubscription::GetLastCheck, &DownloadableSubscription::SetLastCheck)
- .property("expires", &DownloadableSubscription::GetHardExpiration, &DownloadableSubscription::SetHardExpiration)
+ .property("hardExpiration", &DownloadableSubscription::GetHardExpiration, &DownloadableSubscription::SetHardExpiration)
.property("softExpiration", &DownloadableSubscription::GetSoftExpiration, &DownloadableSubscription::SetSoftExpiration)
.property("lastDownload", &DownloadableSubscription::GetLastDownload, &DownloadableSubscription::SetLastDownload)
.property("downloadStatus", &DownloadableSubscription::GetDownloadStatus, &DownloadableSubscription::SetDownloadStatus)
.property("lastSuccess", &DownloadableSubscription::GetLastSuccess, &DownloadableSubscription::SetLastSuccess)
- .property("errors", &DownloadableSubscription::GetErrorCount, &DownloadableSubscription::SetErrorCount)
- .property("version", &DownloadableSubscription::GetDataRevision, &DownloadableSubscription::SetDataRevision)
+ .property("errorCount", &DownloadableSubscription::GetErrorCount, &DownloadableSubscription::SetErrorCount)
+ .property("dataRevision", &DownloadableSubscription::GetDataRevision, &DownloadableSubscription::SetDataRevision)
.property("requiredVersion", &DownloadableSubscription::GetRequiredVersion, &DownloadableSubscription::SetRequiredVersion)
.property("downloadCount", &DownloadableSubscription::GetDownloadCount, &DownloadableSubscription::SetDownloadCount)
.function("serialize", &DownloadableSubscription::Serialize);
singleton<FilterStorage>("FilterStorage", &FilterStorage::GetInstance)
.property("subscriptionCount", &FilterStorage::GetSubscriptionCount)
.function("subscriptionAt", &FilterStorage::SubscriptionAt)
.function("indexOfSubscription", &FilterStorage::IndexOfSubscription)
« no previous file with comments | « no previous file | lib/subscriptionClasses.js » ('j') | lib/subscriptionClasses.js » ('J')

Powered by Google App Engine
This is Rietveld