refs #848, parse command line in simulator context

* forward to driver if applicable
* hook up with facade to receive command lines
This commit is contained in:
Klaus Basan
2016-12-31 05:06:50 +01:00
committed by Mathew Sutcliffe
parent 0c720c7c71
commit 15020b2d5f
7 changed files with 53 additions and 1 deletions

View File

@@ -200,6 +200,9 @@ namespace BlackCore
//! Request weather grid. Argument identifier is past in the signal to identify the requestor
virtual void requestWeatherGrid(const BlackMisc::Weather::CWeatherGrid &weatherGrid, const BlackMisc::CIdentifier &identifier) = 0;
//! Parse a given command line
virtual bool parseCommandLine(const QString &commandLine, const BlackMisc::CIdentifier &originator) = 0;
protected:
//! Constructor
IContextSimulator(CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime) : CContext(mode, runtime) {}