mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +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);
|
||||
}
|
||||
|
||||
std::string Simulators::active_simulator_name() const
|
||||
{
|
||||
return this->m_current_simulator;
|
||||
}
|
||||
|
||||
void Simulators::run()
|
||||
{
|
||||
if (this->m_simulators.empty())
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
class Simulators {
|
||||
public:
|
||||
Simulators();
|
||||
std::string active_simulator_name() const;
|
||||
void run();
|
||||
void stop();
|
||||
void switch_simulator(std::string name);
|
||||
|
||||
Reference in New Issue
Block a user