WaterLevelSensor/wifihelper.h

17 lines
343 B
C
Raw Permalink Normal View History

2026-09-14 15:31:21 +05:30
#ifndef WIFIHELPER_H
#define WIFIHELPER_H
#include <QObject>
class WiFiHelper : public QObject
{
Q_OBJECT
public:
explicit WiFiHelper(QObject *parent = nullptr);
Q_INVOKABLE QString getWifiSsid();
Q_INVOKABLE void requestPermissionsAndFetch();
signals:
void ssidRetrieved(const QString &ssid);
};
#endif // WIFIHELPER_H