Move Constructor next to rest of the class

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-12-29 08:52:13 +01:00 committed by Dirk Hohndel
parent 8e33c0ce38
commit e503b5c707

View file

@ -106,10 +106,6 @@ static dc_status_t local_hw_ostc_device_clock(void *ignored, dc_datetime_t *time
}
#endif
ReadSettingsThread::ReadSettingsThread(QObject *parent, device_data_t *data) : QThread(parent), m_data(data)
{
}
static int read_ostc_cf(unsigned char data[], unsigned char cf)
{
return data[128 + (cf % 32) * 4 + 3] << 8 ^ data[128 + (cf % 32) * 4 + 2];
@ -1385,6 +1381,10 @@ static dc_status_t write_ostc_settings(dc_device_t *device, DeviceDetails *m_dev
return rc;
}
ReadSettingsThread::ReadSettingsThread(QObject *parent, device_data_t *data) : QThread(parent), m_data(data)
{
}
void ReadSettingsThread::run()
{
bool supported = false;