mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #911, backend function in listener
Can provide information of the system which was connected
This commit is contained in:
committed by
Mathew Sutcliffe
parent
8a2eef66ae
commit
622a2f0937
@@ -78,4 +78,9 @@ namespace BlackCore
|
||||
Q_UNUSED(s)
|
||||
}
|
||||
|
||||
QString ISimulatorListener::backendInfo() const
|
||||
{
|
||||
return m_info.toQString();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user