mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
refs #296 implemented CSimulatorXPlane::getAirportsInRange
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
//! \file
|
||||
|
||||
#include "blackmisc/genericdbusinterface.h"
|
||||
#include "blackmisc/sequence.h"
|
||||
#include <functional>
|
||||
|
||||
//! \cond PRIVATE
|
||||
@@ -21,6 +22,9 @@ namespace BlackSimPlugin
|
||||
namespace XPlane
|
||||
{
|
||||
|
||||
//! Typedef needed to use CSequence<double> as a DBus argument
|
||||
typedef BlackMisc::CSequence<double> CDoubleSequence;
|
||||
|
||||
/*!
|
||||
* Proxy object connected to a real XBus::CService object via DBus
|
||||
*/
|
||||
@@ -76,7 +80,13 @@ namespace BlackSimPlugin
|
||||
//! \copydoc XBus::CService::aircraftModelChanged
|
||||
void aircraftModelChanged(const QString &path, const QString &filename, const QString &livery, const QString &icao);
|
||||
|
||||
//! \copydoc XBus::CService::airportsInRangeUpdated
|
||||
void airportsInRangeUpdated(const QStringList &icaoCodes, const QStringList &names, const CDoubleSequence &lats, const CDoubleSequence &lons, const CDoubleSequence &alts);
|
||||
|
||||
public slots:
|
||||
//! \copydoc XBus::CService::updateAirportsInRange
|
||||
void updateAirportsInRange();
|
||||
|
||||
//! \copydoc XBus::CService::getAircraftModelPath
|
||||
//! @{
|
||||
QString getAircraftModelPath() const;
|
||||
|
||||
Reference in New Issue
Block a user