mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #199, convenience method
This commit is contained in:
@@ -57,6 +57,9 @@ namespace BlackCore
|
||||
//! Simulator info
|
||||
virtual BlackSim::CSimulatorInfo getSimulatorInfo() const = 0;
|
||||
|
||||
//! Simulator avialable?
|
||||
bool isSimulatorAvailable() const { return !getSimulatorInfo().isUnspecified(); }
|
||||
|
||||
protected:
|
||||
//! \brief Constructor
|
||||
IContextSimulator(CRuntimeConfig::ContextMode mode, CRuntime *runtime) : CContext(mode, runtime) {}
|
||||
|
||||
Reference in New Issue
Block a user