cam: options: Make KeyValueParser::parse() virtual
Prepare for sub-classing of the KeyValueParser by making the parse() method virtual. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -71,10 +71,12 @@ public:
|
||||
{
|
||||
};
|
||||
|
||||
virtual ~KeyValueParser() {}
|
||||
|
||||
bool addOption(const char *name, OptionType type, const char *help,
|
||||
OptionArgument argument = ArgumentNone);
|
||||
|
||||
Options parse(const char *arguments);
|
||||
virtual Options parse(const char *arguments);
|
||||
void usage(int indent);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user