refactor: Remove weather support

This commit is contained in:
Lars Toenning
2024-08-05 23:05:09 +02:00
parent 5b6abbefaf
commit de7b820112
172 changed files with 28 additions and 17332 deletions

View File

@@ -9,7 +9,6 @@
#include "blackmisc/simulation/simulatedaircraft.h"
#include "blackmisc/simulation/simulatorinfo.h"
#include "blackmisc/network/textmessage.h"
#include "blackmisc/weather/weatherscenario.h"
#include "blackmisc/pq/length.h"
#include "blackmisc/settingscache.h"
#include "blackmisc/statusmessage.h"
@@ -649,26 +648,6 @@ namespace BlackMisc::Simulation::Settings
}
};
//! Selected weather scenario
struct TSelectedWeatherScenario : public TSettingTrait<Weather::CWeatherScenario>
{
//! \copydoc BlackMisc::TSettingTrait::key
static const char *key() { return "simulator/selectedweatherscenario"; }
//! \copydoc BlackMisc::TSettingTrait::humanReadable
static const QString &humanReadable()
{
static const QString name("Weather scenario");
return name;
}
//! \copydoc BlackMisc::TSettingTrait::defaultValue
static const Weather::CWeatherScenario &defaultValue()
{
static const Weather::CWeatherScenario scenario {};
return scenario;
}
};
} // ns
Q_DECLARE_METATYPE(BlackMisc::Simulation::Settings::CSimulatorSettings)