Index: compiled/bindings/main.cpp |
=================================================================== |
--- a/compiled/bindings/main.cpp |
+++ b/compiled/bindings/main.cpp |
@@ -30,16 +30,17 @@ |
#include "../filter/ElemHideFilter.h" |
#include "../filter/ElemHideException.h" |
#include "../filter/ElemHideEmulationFilter.h" |
#include "../subscription/Subscription.h" |
#include "../subscription/DownloadableSubscription.h" |
#include "../subscription/UserDefinedSubscription.h" |
#include "../storage/FilterStorage.h" |
#include "../ElemHide.h" |
+#include "../ElemHideEmulation.h" |
#include "../FilterNotifier.h" |
int main() |
{ |
try |
{ |
class_<Filter>("Filter") |
.property("text", &Filter::GetText) |
@@ -148,20 +149,30 @@ |
.function("selectorAt", &ElemHide_SelectorList::SelectorAt) |
.function("filterKeyAt", &ElemHide_SelectorList::FilterKeyAt); |
class_<ElemHide>("ElemHide") |
.class_function("create", &ElemHide::Create) |
.function("add", &ElemHide::Add) |
.function("remove", &ElemHide::Remove) |
.function("clear", &ElemHide::Clear) |
- .function("getException", &ElemHide::GetException) |
.function("getSelectorsForDomain", &ElemHide::GetSelectorsForDomain) |
.function("getUnconditionalSelectors", &ElemHide::GetUnconditionalSelectors); |
+ class_<ElemHideEmulation_FilterList>("ElemHideEmulation_FilterList") |
+ .property("filterCount", &ElemHideEmulation_FilterList::GetFilterCount) |
+ .function("filterAt", &ElemHideEmulation_FilterList::FilterAt); |
+ |
+ class_<ElemHideEmulation>("ElemHideEmulation") |
+ .class_function("create", &ElemHideEmulation::Create) |
+ .function("add", &ElemHideEmulation::Add) |
+ .function("remove", &ElemHideEmulation::Remove) |
+ .function("clear", &ElemHideEmulation::Clear) |
+ .function("getRulesForDomain", &ElemHideEmulation::GetRulesForDomain); |
+ |
printBindings(); |
RegExpFilter::GenerateCustomBindings(); |
FilterNotifier::GenerateCustomBindings(); |
return 0; |
} |
catch (const std::exception& e) |
{ |