Index: shell/src/FiltersCommand.cpp |
=================================================================== |
--- a/shell/src/FiltersCommand.cpp |
+++ b/shell/src/FiltersCommand.cpp |
@@ -10,32 +10,32 @@ namespace |
void ShowFilterList(const FilterList& filters) |
{ |
for (FilterList::const_iterator it = filters.begin(); |
it != filters.end(); it++) |
{ |
std::string type; |
switch ((*it)->GetProperty("type", -1)) |
{ |
- case AdblockPlus::BLOCKING_RULE: |
+ case AdblockPlus::Filter::TYPE_BLOCKING: |
type = "blocking"; |
break; |
- case AdblockPlus::EXCEPTION_RULE: |
+ case AdblockPlus::Filter::TYPE_EXCEPTION: |
type = "exception"; |
break; |
- case AdblockPlus::ELEMHIDE_RULE: |
+ case AdblockPlus::Filter::TYPE_ELEMHIDE: |
type = "elemhide"; |
break; |
- case AdblockPlus::ELEMHIDE_EXCEPTION_RULE: |
+ case AdblockPlus::Filter::TYPE_ELEMHIDE_EXCEPTION: |
type = "elemhideexception"; |
break; |
- case AdblockPlus::COMMENT_RULE: |
+ case AdblockPlus::Filter::TYPE_COMMENT: |
type = "comment"; |
break; |
- case AdblockPlus::INVALID_RULE: |
+ case AdblockPlus::Filter::TYPE_INVALID: |
type = "invalid"; |
break; |
default: |
type = "(unknown type)"; |
break; |
} |
std::cout << (*it)->GetProperty("text", "(no text)") << " - " << |
type << std::endl; |