Index: compiled/bindings/main.cpp |
=================================================================== |
--- a/compiled/bindings/main.cpp |
+++ b/compiled/bindings/main.cpp |
@@ -128,26 +128,35 @@ |
.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("errorCount", &DownloadableSubscription::GetErrorCount, &DownloadableSubscription::SetErrorCount) |
.property("dataRevision", &DownloadableSubscription::GetDataRevision, &DownloadableSubscription::SetDataRevision) |
.property("requiredVersion", &DownloadableSubscription::GetRequiredVersion, &DownloadableSubscription::SetRequiredVersion) |
.property("downloadCount", &DownloadableSubscription::GetDownloadCount, &DownloadableSubscription::SetDownloadCount) |
+ .class_function("parseDownload", &DownloadableSubscription::ParseDownload) |
.function("serialize", &DownloadableSubscription::Serialize); |
+ class_<DownloadableSubscription_Parser>("DownloadableSubscription_Parser") |
+ .property("redirect", &DownloadableSubscription_Parser::GetRedirect) |
+ .property("homepage", &DownloadableSubscription_Parser::GetHomepage) |
+ .function("process", &DownloadableSubscription_Parser::Process) |
+ .function("verifyChecksum", &DownloadableSubscription_Parser::VerifyChecksum) |
+ .function("finalize", &DownloadableSubscription_Parser::Finalize); |
+ |
singleton<FilterStorage>("FilterStorage", &FilterStorage::GetInstance) |
.property("subscriptionCount", &FilterStorage::GetSubscriptionCount) |
.function("subscriptionAt", &FilterStorage::SubscriptionAt) |
.function("indexOfSubscription", &FilterStorage::IndexOfSubscription) |
.function("getSubscriptionForFilter", &FilterStorage::GetSubscriptionForFilter) |
.function("addSubscription", &FilterStorage::AddSubscription) |
.function("removeSubscription", &FilterStorage::RemoveSubscription) |
- .function("moveSubscription", &FilterStorage::MoveSubscription); |
+ .function("moveSubscription", &FilterStorage::MoveSubscription) |
+ .function("clearSubscriptionFilters", &FilterStorage::ClearSubscriptionFilters); |
class_<ElemHide_SelectorList>("ElemHide_SelectorList") |
.property("selectorCount", &ElemHide_SelectorList::GetSelectorCount) |
.function("selectorAt", &ElemHide_SelectorList::SelectorAt) |
.function("filterKeyAt", &ElemHide_SelectorList::FilterKeyAt); |
singleton<ElemHide>("ElemHide", &ElemHide::GetInstance) |
.function("add", &ElemHide::Add) |