OLD | NEW |
(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 |
OLD | NEW |