Index: compiled/bindings/main.cpp |
=================================================================== |
--- a/compiled/bindings/main.cpp |
+++ b/compiled/bindings/main.cpp |
@@ -128,18 +128,25 @@ |
.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) |
+ .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("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); |