mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Ref T111, renamed dummy driver to CSimulatorEmulated
This commit is contained in:
committed by
Mathew Sutcliffe
parent
2ede2633b8
commit
b70fb70d60
@@ -65,6 +65,5 @@ namespace BlackMisc
|
||||
if (sim.xplane()) { sims.push_back(CSimulatorInfo(CSimulatorInfo::XPLANE)); }
|
||||
return sims;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
@@ -50,9 +50,9 @@ namespace BlackMisc
|
||||
return CSimulatorInfo(getSimulator());
|
||||
}
|
||||
|
||||
bool CSimulatorPluginInfo::isSwiftPlugin() const
|
||||
bool CSimulatorPluginInfo::isEmulatedPlugin() const
|
||||
{
|
||||
return this->getIdentifier() == swiftPluginIndentifier();
|
||||
return this->getIdentifier() == emulatedPluginIndentifier();
|
||||
}
|
||||
|
||||
QString CSimulatorPluginInfo::convertToQString(bool i18n) const
|
||||
@@ -85,9 +85,9 @@ namespace BlackMisc
|
||||
return s;
|
||||
}
|
||||
|
||||
const QString &CSimulatorPluginInfo::swiftPluginIndentifier()
|
||||
const QString &CSimulatorPluginInfo::emulatedPluginIndentifier()
|
||||
{
|
||||
static const QString s("org.swift-project.plugins.simulator.swift");
|
||||
static const QString s("org.swift-project.plugins.simulator.emulated");
|
||||
return s;
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace BlackMisc
|
||||
p3dPluginIndentifier(),
|
||||
xplanePluginIndentifier(),
|
||||
fs9PluginIndentifier(),
|
||||
swiftPluginIndentifier()
|
||||
emulatedPluginIndentifier()
|
||||
});
|
||||
return identifiers;
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace BlackMisc
|
||||
BlackMisc::Simulation::CSimulatorInfo getSimulatorInfo() const;
|
||||
|
||||
//! Is this the pseudo swift driver?
|
||||
bool isSwiftPlugin() const;
|
||||
bool isEmulatedPlugin() const;
|
||||
|
||||
//! Description
|
||||
const QString &getDescription() const { return m_description; }
|
||||
@@ -83,8 +83,8 @@ namespace BlackMisc
|
||||
//! Plugin identifier (XPlane)
|
||||
static const QString &xplanePluginIndentifier();
|
||||
|
||||
//! Plugin identifier (swift pseudo driver)
|
||||
static const QString &swiftPluginIndentifier();
|
||||
//! Plugin identifier (emulated simulator plugin)
|
||||
static const QString &emulatedPluginIndentifier();
|
||||
|
||||
//! All valid identifiers
|
||||
static const QStringList &allIdentifiers();
|
||||
|
||||
Reference in New Issue
Block a user