mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +08:00
refs #886, added CSimulatorInfo(const QStringList &simulators)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b94eab581e
commit
04df922a0e
@@ -28,9 +28,15 @@ namespace BlackMisc
|
|||||||
CSimulatorInfo::CSimulatorInfo()
|
CSimulatorInfo::CSimulatorInfo()
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
CSimulatorInfo::CSimulatorInfo(const QString &identifierString) : m_simulator(identifierToFlag(identifierString))
|
CSimulatorInfo::CSimulatorInfo(const QString &identifierString) : m_simulator(identifierToFlag(identifierString))
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
CSimulatorInfo::CSimulatorInfo(const QStringList &simulators)
|
||||||
|
{
|
||||||
|
const QString identifier = simulators.join(' ');
|
||||||
|
m_simulator = identifierToFlag(identifier);
|
||||||
|
}
|
||||||
|
|
||||||
CSimulatorInfo::CSimulatorInfo(Simulator simulator) : m_simulator(static_cast<int>(simulator))
|
CSimulatorInfo::CSimulatorInfo(Simulator simulator) : m_simulator(static_cast<int>(simulator))
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
|||||||
@@ -66,6 +66,9 @@ namespace BlackMisc
|
|||||||
//! Constructor
|
//! Constructor
|
||||||
CSimulatorInfo(const QString &identifierString);
|
CSimulatorInfo(const QString &identifierString);
|
||||||
|
|
||||||
|
//! Constructor
|
||||||
|
CSimulatorInfo(const QStringList &simulators);
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CSimulatorInfo(Simulator s);
|
CSimulatorInfo(Simulator s);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user