Index: include/AdblockPlus/FilterEngine.h |
=================================================================== |
--- a/include/AdblockPlus/FilterEngine.h |
+++ b/include/AdblockPlus/FilterEngine.h |
@@ -38,26 +38,26 @@ namespace AdblockPlus |
std::map<std::string, std::string> stringProperties; |
std::map<std::string, int> intProperties; |
std::map<std::string, bool> boolProperties; |
#else |
JsObject(); |
#endif |
}; |
- enum FilterType {BLOCKING_RULE, EXCEPTION_RULE, |
- ELEMHIDE_RULE, ELEMHIDE_EXCEPTION_RULE, |
- COMMENT_RULE, INVALID_RULE}; |
- |
class Filter : public JsObject, |
public std::tr1::enable_shared_from_this<Filter> |
{ |
friend class FilterEngine; |
public: |
+ enum Type {TYPE_BLOCKING, TYPE_EXCEPTION, |
+ TYPE_ELEMHIDE, TYPE_ELEMHIDE_EXCEPTION, |
+ TYPE_COMMENT, TYPE_INVALID}; |
+ |
bool IsListed() const; |
void AddToList(); |
void RemoveFromList(); |
private: |
#if FILTER_ENGINE_STUBS |
Filter(FilterEngine& filterEngine, const std::string& text); |
#else |