mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +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;
|
||||
}
|
||||
|
||||
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()
|
||||
{
|
||||
static const QVector<CWeatherScenario> scenarios =
|
||||
|
||||
@@ -49,6 +49,9 @@ namespace BlackMisc
|
||||
//! \copydoc Geo::IGeoObjectList::findClosest
|
||||
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
|
||||
static const QVector<CWeatherScenario> &getAllScenarios();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user