This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2013-12-30 20:15:59 +01:00

24 lines
531 B
C++

#include "rfswitch.h"
RfSwitch::RfSwitch(QObject *parent) :
DevicePlugin(parent)
{
}
QList<DeviceClass> RfSwitch::supportedDevices() const
{
// TODO: load list from config with static uuid
QList<DeviceClass> ret;
DeviceClass deviceClassRfRemote(QUuid::createUuid());
deviceClassRfRemote.setName("RF Remote");
ret.append(deviceClassRfRemote);
DeviceClass deviceClassRfSwitch(QUuid::createUuid());
deviceClassRfSwitch.setName("RF Switch");
ret.append(deviceClassRfSwitch);
return ret;
}