working connecting and entering password
This commit is contained in:
@@ -4,12 +4,15 @@
|
||||
#include <QObject>
|
||||
#include <QAbstractListModel>
|
||||
#include <network.h>
|
||||
#include <string>
|
||||
|
||||
class NetworkManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QList<Network> scanForNetworks();
|
||||
bool isWifiEnabled();
|
||||
bool connect(std::string ssid, std::string password);
|
||||
};
|
||||
|
||||
#endif // NETWORKMANAGER_H
|
||||
|
||||
Reference in New Issue
Block a user