16using SourceMap = QMultiMap<long, const WeatherSource*>;
29 void doUpdate(
bool forceUpdate =
false);
void doUpdate(bool forceUpdate=false)
bool connectScreen(uint id, WeatherScreen *screen)
~SourceManager() override
bool findPossibleSources(QStringList types, QList< ScriptInfo * > &sources)
WeatherSource * needSourceFor(int id, const QString &loc, units_t units)
QStringList getLocationList(ScriptInfo *si, const QString &str)
ScriptInfo * getSourceByName(const QString &name)
bool disconnectScreen(WeatherScreen *screen)
QList< WeatherSource * > m_sources
void recurseDirs(QDir dir)
QList< ScriptInfo * > m_scripts
static const struct wl_interface * types[]
QMultiMap< long, const WeatherSource * > SourceMap