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.
powersync-core/plugins/deviceplugins/wifidetector/devicepluginwifidetector.h
2014-03-31 20:33:30 +02:00

31 lines
735 B
C++

#ifndef DEVICEPLUGINWIFIDETECTOR_H
#define DEVICEPLUGINWIFIDETECTOR_H
#include "deviceplugin.h"
#include <QProcess>
class DevicePluginWifiDetector : public DevicePlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.guhyourhome.DevicePlugin" FILE "devicepluginwifidetector.json")
Q_INTERFACES(DevicePlugin)
public:
explicit DevicePluginWifiDetector();
QList<DeviceClass> supportedDevices() const override;
DeviceManager::HardwareResources requiredHardware() const override;
QString pluginName() const override;
QUuid pluginId() const override;
void guhTimer() override;
private slots:
void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
};
#endif // DEVICEPLUGINWIFIDETECTOR_H