blob: ce36f8ccc8906d1b35cb0c4fdf2f88d6976d1158 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "fmsmanager.h"
#include "weathermanager.h"
WeatherManager::WeatherManager(FmsManager *fms, ToqManager *toq) :
QObject(toq), _toq(toq), _fms(fms)
{
connect(_toq, &ToqManager::connected,
this, &WeatherManager::handleToqConnected);
}
void WeatherManager::handleToqConnected()
{
#if 0
qDebug() << "Putting file";
QByteArray data(img_data, sizeof(img_data));
_fms->updateFile("/apps/weather/99.img", data);
#endif
}
|