mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
Ref T304, adjusted XSwiftDBus settings so P2P can be used
* XPlane now supports P2P XSwiftBus amd session bus * adjusted settings component
This commit is contained in:
@@ -12,9 +12,10 @@
|
||||
#ifndef BLACKGUI_COMPONENTS_SETTINGSXSWIFTBUSCOMPONENT_H
|
||||
#define BLACKGUI_COMPONENTS_SETTINGSXSWIFTBUSCOMPONENT_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackmisc/simulation/settings/xswiftbussettings.h"
|
||||
#include "blackmisc/settingscache.h"
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackmisc/logcategorylist.h"
|
||||
#include <QFrame>
|
||||
#include <QScopedPointer>
|
||||
|
||||
@@ -31,6 +32,9 @@ namespace BlackGui
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Log categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
|
||||
//! Constructor
|
||||
explicit CSettingsXSwiftBusComponent(QWidget *parent = nullptr);
|
||||
|
||||
@@ -41,7 +45,8 @@ namespace BlackGui
|
||||
QScopedPointer<Ui::CSettingsXSwiftBusComponent> ui;
|
||||
BlackMisc::CSetting<BlackMisc::Simulation::Settings::TXSwiftBusServer> m_xSwiftBusServerSetting { this };
|
||||
|
||||
void saveServer(const QString &dBusAddress);
|
||||
void resetServer();
|
||||
void saveServer();
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user