refs #911, backend function in listener

Can provide information of the system which was connected
This commit is contained in:
Klaus Basan
2017-03-16 04:44:01 +01:00
committed by Mathew Sutcliffe
parent 8a2eef66ae
commit 622a2f0937
4 changed files with 23 additions and 2 deletions

View File

@@ -78,4 +78,9 @@ namespace BlackCore
Q_UNUSED(s)
}
QString ISimulatorListener::backendInfo() const
{
return m_info.toQString();
}
} // namespace

View File

@@ -247,6 +247,9 @@ namespace BlackCore
//! Corresponding info
const BlackMisc::Simulation::CSimulatorPluginInfo &getPluginInfo() const { return m_info; }
//! Info about the backend system (if available)
virtual QString backendInfo() const;
public slots:
//! Start listening for the simulator to start.
virtual void start() = 0;