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

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

Issue 10016005: Add API calls and stubs for filter matching and subscription management (Closed)
Patch Set: Created April 3, 2013, 12:42 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
1 #ifndef MATCHES_COMMAND_H 1 #ifndef MATCHES_COMMAND_H
2 #define MATCHES_COMMAND_H 2 #define MATCHES_COMMAND_H
3 3
4 #include <AdblockPlus.h>
5
4 #include "Command.h" 6 #include "Command.h"
5 7
6 class MatchesCommand : public Command 8 class MatchesCommand : public Command
7 { 9 {
8 public: 10 public:
9 MatchesCommand(); 11 MatchesCommand(AdblockPlus::FilterEngine& filterEngine);
10 void operator()(const std::string& arguments); 12 void operator()(const std::string& arguments);
11 std::string GetDescription() const; 13 std::string GetDescription() const;
12 std::string GetUsage() const; 14 std::string GetUsage() const;
15
16 private:
17 AdblockPlus::FilterEngine& filterEngine;
13 }; 18 };
14 19
15 #endif 20 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld