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