having a better abstraction for network stuff as manager for other methods

This commit is contained in:
talksik
2024-02-09 12:14:04 -08:00
parent 68596b75c5
commit edefbf5b13
6 changed files with 23 additions and 31 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef NETWORKMANAGER_H
#define NETWORKMANAGER_H
#include <QObject>
#include <QAbstractListModel>
#include <network.h>
class NetworkManager : public QObject
{
Q_OBJECT
public:
QList<Network> scanForNetworks();
};
#endif // NETWORKMANAGER_H