mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
simulators
Add function to retrieve active sim name
This commit is contained in:
@@ -6,6 +6,11 @@ Simulators::Simulators()
|
|||||||
INSERT_SIMULATOR(Test_Sim);
|
INSERT_SIMULATOR(Test_Sim);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string Simulators::active_simulator_name() const
|
||||||
|
{
|
||||||
|
return this->m_current_simulator;
|
||||||
|
}
|
||||||
|
|
||||||
void Simulators::run()
|
void Simulators::run()
|
||||||
{
|
{
|
||||||
if (this->m_simulators.empty())
|
if (this->m_simulators.empty())
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
class Simulators {
|
class Simulators {
|
||||||
public:
|
public:
|
||||||
Simulators();
|
Simulators();
|
||||||
|
std::string active_simulator_name() const;
|
||||||
void run();
|
void run();
|
||||||
void stop();
|
void stop();
|
||||||
void switch_simulator(std::string name);
|
void switch_simulator(std::string name);
|
||||||
|
|||||||
Reference in New Issue
Block a user