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

Unified Diff: shell/src/Command.h

Issue 9987009: Interface for the libadblockplus API (Closed)
Patch Set: Reduce redundant redundancy Created March 27, 2013, 6:45 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 | « libadblockplus.gyp ('k') | shell/src/Command.cpp » ('j') | shell/src/Main.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/src/Command.h
===================================================================
--- a/shell/src/Command.h
+++ b/shell/src/Command.h
@@ -1,3 +1,4 @@
+
Felix Dahlke 2013/03/27 08:18:26 Gosh, missed that. Removed it :)
#ifndef COMMAND_H
#define COMMAND_H
@@ -15,6 +16,9 @@
virtual void operator()(const std::string& arguments) = 0;
virtual std::string GetDescription() const = 0;
virtual std::string GetUsage() const = 0;
+
+protected:
+ void ShowUsage() const;
};
typedef std::map<const std::string, Command*> CommandMap;
« no previous file with comments | « libadblockplus.gyp ('k') | shell/src/Command.cpp » ('j') | shell/src/Main.cpp » ('J')

Powered by Google App Engine
This is Rietveld