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-31 00:48:12 +01:00

26 lines
466 B
C++

#ifndef RFSWITCH_H
#define RFSWITCH_H
#include "deviceplugin.h"
class RfSwitch : public DevicePlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.hiveyourhome.DevicePlugin" FILE "rfswitch.json")
Q_INTERFACES(DevicePlugin)
public:
explicit RfSwitch();
void init() override;
QList<DeviceClass> supportedDevices() const override;
QString pluginName() const;
private slots:
void dataReceived(QList<int> rawData);
};
#endif // RFSWITCH_H