fix merge
This commit is contained in:
parent
992ccd3a04
commit
9f7fd197bb
@ -17,25 +17,7 @@ DeviceManager::DeviceManager(QObject *parent) :
|
|||||||
{
|
{
|
||||||
m_radio433 = new Radio433(this);
|
m_radio433 = new Radio433(this);
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
QMetaObject::invokeMethod(this, "loadPlugins", Qt::QueuedConnection);
|
QMetaObject::invokeMethod(this, "loadPlugins", Qt::QueuedConnection);
|
||||||
=======
|
|
||||||
qDebug() << "loading plugins";
|
|
||||||
foreach (QObject *pluginObject, QPluginLoader::staticInstances()) {
|
|
||||||
DevicePlugin *pluginIface = qobject_cast<DevicePlugin*>(pluginObject);
|
|
||||||
qDebug() << "got plugin instance";
|
|
||||||
if (pluginIface) {
|
|
||||||
qDebug() << "got device plugin" << pluginIface->pluginName();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: load dynamically
|
|
||||||
// RfSwitch *rfSwitch = new RfSwitch(this);
|
|
||||||
// m_supportedDevices.append(rfSwitch->supportedDevices());
|
|
||||||
// m_devicePlugins.append(rfSwitch);
|
|
||||||
|
|
||||||
|
|
||||||
>>>>>>> radio thread fixed
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QList<DeviceClass> DeviceManager::supportedDevices()
|
QList<DeviceClass> DeviceManager::supportedDevices()
|
||||||
|
|||||||
Reference in New Issue
Block a user