mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
@@ -43,15 +43,9 @@ namespace BlackCore::Context
|
||||
bool s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
||||
"connectionStatusChanged", this, SIGNAL(connectionStatusChanged(BlackMisc::Network::CConnectionStatus, BlackMisc::Network::CConnectionStatus)));
|
||||
Q_ASSERT(s);
|
||||
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
||||
"changedAtcStationsBooked", this, SIGNAL(changedAtcStationsBooked()));
|
||||
Q_ASSERT(s);
|
||||
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
||||
"changedAtcStationsOnline", this, SIGNAL(changedAtcStationsOnline()));
|
||||
Q_ASSERT(s);
|
||||
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
||||
"changedAtcStationsBookedDigest", this, SIGNAL(changedAtcStationsBookedDigest()));
|
||||
Q_ASSERT(s);
|
||||
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
||||
"changedAtcStationsOnlineDigest", this, SIGNAL(changedAtcStationsOnlineDigest()));
|
||||
Q_ASSERT(s);
|
||||
@@ -95,11 +89,6 @@ namespace BlackCore::Context
|
||||
this->relayBaseClassSignals(serviceName, connection, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName());
|
||||
}
|
||||
|
||||
void CContextNetworkProxy::requestAtcBookingsUpdate() const
|
||||
{
|
||||
m_dBusInterface->callDBus(QLatin1String("requestAtcBookingsUpdate"));
|
||||
}
|
||||
|
||||
CAtcStationList CContextNetworkProxy::getAtcStationsOnline(bool recalculateDistance) const
|
||||
{
|
||||
return m_dBusInterface->callDBusRet<BlackMisc::Aviation::CAtcStationList>(QLatin1String("getAtcStationsOnline"), recalculateDistance);
|
||||
@@ -110,11 +99,6 @@ namespace BlackCore::Context
|
||||
return m_dBusInterface->callDBusRet<BlackMisc::Aviation::CAtcStationList>(QLatin1String("getClosestAtcStationsOnline"), number);
|
||||
}
|
||||
|
||||
CAtcStationList CContextNetworkProxy::getAtcStationsBooked(bool recalculateDistance) const
|
||||
{
|
||||
return m_dBusInterface->callDBusRet<BlackMisc::Aviation::CAtcStationList>(QLatin1String("getAtcStationsBooked"), recalculateDistance);
|
||||
}
|
||||
|
||||
CSimulatedAircraftList CContextNetworkProxy::getAircraftInRange() const
|
||||
{
|
||||
return m_dBusInterface->callDBusRet<BlackMisc::Simulation::CSimulatedAircraftList>(QLatin1String("getAircraftInRange"));
|
||||
|
||||
Reference in New Issue
Block a user