Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: shell/src/FiltersCommand.h

Issue 10100009: FilterEngine API improvements (Closed)
Patch Set: Replace GetElementHidingRules by a domain-specific GetElementHidingSelectors Created April 5, 2013, 12:22 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #ifndef FILTERS_COMMAND_H
2 #define FILTERS_COMMAND_H
3
4 #include <AdblockPlus.h>
5 #include <string>
6
7 #include "Command.h"
8
9 class FiltersCommand : public Command
10 {
11 public:
12 explicit FiltersCommand(AdblockPlus::FilterEngine& filterEngine);
13 void operator()(const std::string& arguments);
14 std::string GetDescription() const;
15 std::string GetUsage() const;
16
17 private:
18 AdblockPlus::FilterEngine& filterEngine;
19
20 void ShowFilters();
21 void AddFilter(const std::string& text);
22 void RemoveFilter(const std::string& text);
23 };
24
25 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld