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

Unified Diff: shell/src/SubscriptionsCommand.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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « shell/src/MatchesCommand.cpp ('k') | shell/src/SubscriptionsCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/src/SubscriptionsCommand.h
===================================================================
--- a/shell/src/SubscriptionsCommand.h
+++ b/shell/src/SubscriptionsCommand.h
@@ -9,18 +9,19 @@
class SubscriptionsCommand : public Command
{
public:
- explicit SubscriptionsCommand(AdblockPlus::JsEngine& jsEngine);
+ explicit SubscriptionsCommand(AdblockPlus::FilterEngine& filterEngine);
void operator()(const std::string& arguments);
std::string GetDescription() const;
std::string GetUsage() const;
private:
- AdblockPlus::JsEngine& jsEngine;
+ AdblockPlus::FilterEngine& filterEngine;
void ShowSubscriptions();
- void AddSubscription(const std::string& url);
+ void AddSubscription(const std::string& url, const std::string& title);
void RemoveSubscription(const std::string& url);
void UpdateSubscriptions();
+ void FetchSubscriptions();
};
#endif
« no previous file with comments | « shell/src/MatchesCommand.cpp ('k') | shell/src/SubscriptionsCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld