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

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

Issue 9987009: Interface for the libadblockplus API (Closed)
Patch Set: Use new API in the shell Created March 27, 2013, 4:58 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « shell/src/Main.cpp ('k') | shell/src/MatchesCommand.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « shell/src/Main.cpp ('k') | shell/src/MatchesCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld