mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
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:
committed by
Mathew Sutcliffe
parent
0c720c7c71
commit
15020b2d5f
@@ -73,7 +73,8 @@ namespace BlackCore
|
||||
void gracefulShutdown();
|
||||
|
||||
public slots:
|
||||
//! \name Interface implementations
|
||||
// ----------------------------- context interface -----------------------------
|
||||
//! \publicsection
|
||||
//! @{
|
||||
virtual BlackMisc::Simulation::CSimulatorPluginInfo getSimulatorPluginInfo() const override;
|
||||
virtual BlackMisc::Simulation::CSimulatorPluginInfoList getAvailableSimulatorPlugins() const override;
|
||||
@@ -102,6 +103,17 @@ namespace BlackCore
|
||||
virtual void enableMatchingMessages(bool enabled) override;
|
||||
//! @}
|
||||
|
||||
//! \ingroup commandline
|
||||
//! @{
|
||||
//! <pre>
|
||||
//! .plugin forwared to plugin, see details there
|
||||
//! .driver .drv forwared to plugin (same as above)
|
||||
//! </pre>
|
||||
//! @}
|
||||
//! \copydoc IContextSimulator::parseCommandLine
|
||||
virtual bool parseCommandLine(const QString &commandLine, const BlackMisc::CIdentifier &originator) override;
|
||||
// ----------------------------- context interface -----------------------------
|
||||
|
||||
protected:
|
||||
//! Constructor
|
||||
CContextSimulator(CCoreFacadeConfig::ContextMode, CCoreFacade *runtime);
|
||||
|
||||
Reference in New Issue
Block a user