/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright (C) 2019 Bernhard Trinnes . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #ifndef DEVICEPLUGINGENERICINTERFACES_H #define DEVICEPLUGINGENERICINTERFACES_H #include "devices/deviceplugin.h" class DevicePluginGenericInterfaces : public DevicePlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "io.nymea.DevicePlugin" FILE "deviceplugingenericinterfaces.json") Q_INTERFACES(DevicePlugin) public: explicit DevicePluginGenericInterfaces(); Device::DeviceSetupStatus setupDevice(Device *device) override; public slots: Device::DeviceError executeAction(Device *device, const Action &action) override; }; #endif // DEVICEPLUGINGENERICINTERFACES_H