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

Delta Between Two Patch Sets: shell/src/MatchesCommand.h

Issue 9987009: Interface for the libadblockplus API (Closed)
Left Patch Set: Some changes to the API, implemented stubs Created March 26, 2013, 3:13 p.m.
Right Patch Set: Reduce redundant redundancy Created March 27, 2013, 6:45 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
LEFTRIGHT
(no file at all)
1 #ifndef MATCHES_COMMAND_H 1 #ifndef MATCHES_COMMAND_H
2 #define MATCHES_COMMAND_H 2 #define MATCHES_COMMAND_H
3
4 #include <AdblockPlus.h>
3 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
LEFTRIGHT

Powered by Google App Engine
This is Rietveld