mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
fix: Unify xswiftbus spelling
This commit is contained in:
@@ -19,7 +19,7 @@ BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Simulation::Settings, CXSwiftBusSett
|
||||
|
||||
namespace BlackMisc::Simulation::Settings
|
||||
{
|
||||
//! XSwiftBus settings
|
||||
//! xswiftbus settings
|
||||
class BLACKMISC_EXPORT CXSwiftBusSettings final :
|
||||
public CValueObject<CXSwiftBusSettings>,
|
||||
public CXSwiftBusSettingsQtFree,
|
||||
@@ -105,7 +105,7 @@ namespace BlackMisc::Simulation::Settings
|
||||
};
|
||||
|
||||
/*!
|
||||
* Setting for XSwiftBus.
|
||||
* Setting for xswiftbus.
|
||||
*/
|
||||
struct TXSwiftBusSettings : public TSettingTrait<CXSwiftBusSettings>
|
||||
{
|
||||
@@ -115,7 +115,7 @@ namespace BlackMisc::Simulation::Settings
|
||||
//! \copydoc BlackMisc::TSettingTrait::humanReadable
|
||||
static const QString &humanReadable()
|
||||
{
|
||||
static const QString name("XSwiftBus");
|
||||
static const QString name("xswiftbus");
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
namespace BlackMisc::Simulation::Settings
|
||||
{
|
||||
/*!
|
||||
* XSwiftBus/swift side settings class, JSON capable, shared among all services
|
||||
* \details Used on swift and XSwiftBus side, MUST BE Qt free
|
||||
* xswiftbus/swift side settings class, JSON capable, shared among all services
|
||||
* \details Used on swift and xswiftbus side, MUST BE Qt free
|
||||
*/
|
||||
class CXSwiftBusSettingsQtFree
|
||||
{
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
|
||||
// Strict header only X-Plane model parser utils shared between BlackMisc and XSwiftBus.
|
||||
// Header only is necessary to no require XSwiftBus to link against BlackMisc.
|
||||
// Strict header only X-Plane model parser utils shared between BlackMisc and xswiftbus.
|
||||
// Header only is necessary to no require xswiftbus to link against BlackMisc.
|
||||
|
||||
namespace BlackMisc::Simulation::XPlane::QtFreeUtils
|
||||
{
|
||||
|
||||
@@ -62,10 +62,10 @@ namespace BlackMisc::Simulation::XPlane
|
||||
//! Exclude directories for models
|
||||
static const QStringList &xplaneModelExcludeDirectoryPatterns();
|
||||
|
||||
//! XSwiftBus plugin directory
|
||||
//! xswiftbus plugin directory
|
||||
static QString xswiftbusPluginDir(const QString &xplaneRootDir = CXPlaneUtil::xplaneRootDir());
|
||||
|
||||
//! XSwiftBus legacy directory
|
||||
//! xswiftbus legacy directory
|
||||
static QString xswiftbusLegacyDir(const QString &xplaneRootDir = CXPlaneUtil::xplaneRootDir());
|
||||
|
||||
//! Both directories, plugin and
|
||||
@@ -78,17 +78,17 @@ namespace BlackMisc::Simulation::XPlane
|
||||
//! \remark uses CXPlaneUtil::xplanePluginPath as default
|
||||
static QStringList findAllXplFiles(const QString &pluginDir = {});
|
||||
|
||||
//! Newer XSwiftBus build
|
||||
//! Newer xswiftbus build
|
||||
static bool hasNewerXSwiftBusBuild(const QString &xplaneRootDir = CXPlaneUtil::xplaneRootDir());
|
||||
|
||||
//! Copy a XSwiftBus build
|
||||
//! Copy a xswiftbus build
|
||||
//! \remark only copying in a local build environment
|
||||
static int copyXSwiftBusBuildFiles(const QString &xplaneRootDir = CXPlaneUtil::xplaneRootDir());
|
||||
|
||||
//! XPlane relative plugin path
|
||||
static const QString &xplanePluginPathName();
|
||||
|
||||
//! XSwiftBus path name
|
||||
//! xswiftbus path name
|
||||
static const QString &xswiftbusPathName();
|
||||
|
||||
//! Filter filter for xpl files
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace BlackMisc::Simulation::XPlane
|
||||
configFile.remove();
|
||||
if (configFile.open(QIODevice::WriteOnly))
|
||||
{
|
||||
// this code should be similar to XSwiftBus config.cpp
|
||||
// this code should be similar to xswiftbus config.cpp
|
||||
QTextStream ts(&configFile);
|
||||
ts << "# DBus Mode - Options: p2p, session" << Qt::endl;
|
||||
ts << "dbusMode = " << m_dbusMode << Qt::endl;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace BlackMisc::Simulation::XPlane
|
||||
{
|
||||
//! XSwiftBus configuration file writer
|
||||
//! xswiftbus configuration file writer
|
||||
class BLACKMISC_EXPORT CXSwiftBusConfigWriter : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user