mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 02:05:43 +08:00
Ref T786, stub for getting description of weather grid
This commit is contained in:
committed by
Mat Sutcliffe
parent
0fa6a6e4c3
commit
cfc748420c
@@ -59,6 +59,12 @@ namespace BlackMisc
|
|||||||
return closest;
|
return closest;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QString CWeatherGrid::getDescription(const QString sep) const
|
||||||
|
{
|
||||||
|
Q_UNUSED(sep)
|
||||||
|
return QStringLiteral("Weather grid with %1 entries").arg(this->size());
|
||||||
|
}
|
||||||
|
|
||||||
const QVector<CWeatherScenario> &CWeatherGrid::getAllScenarios()
|
const QVector<CWeatherScenario> &CWeatherGrid::getAllScenarios()
|
||||||
{
|
{
|
||||||
static const QVector<CWeatherScenario> scenarios =
|
static const QVector<CWeatherScenario> scenarios =
|
||||||
|
|||||||
@@ -49,6 +49,9 @@ namespace BlackMisc
|
|||||||
//! \copydoc Geo::IGeoObjectList::findClosest
|
//! \copydoc Geo::IGeoObjectList::findClosest
|
||||||
CWeatherGrid findClosest(int number, const BlackMisc::Geo::ICoordinateGeodetic &coordinate) const;
|
CWeatherGrid findClosest(int number, const BlackMisc::Geo::ICoordinateGeodetic &coordinate) const;
|
||||||
|
|
||||||
|
//! Allow to describe myself
|
||||||
|
QString getDescription(const QString sep = "\n") const;
|
||||||
|
|
||||||
//! Get all available weather scenarios
|
//! Get all available weather scenarios
|
||||||
static const QVector<CWeatherScenario> &getAllScenarios();
|
static const QVector<CWeatherScenario> &getAllScenarios();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user