Ref T786, stub for getting description of weather grid

This commit is contained in:
Klaus Basan
2020-04-18 02:37:27 +02:00
committed by Mat Sutcliffe
parent 0fa6a6e4c3
commit cfc748420c
2 changed files with 9 additions and 0 deletions

View File

@@ -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 =

View File

@@ -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();