diff options
Diffstat (limited to 'workspace/LogReceiver/logreceiver.h')
-rw-r--r-- | workspace/LogReceiver/logreceiver.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/workspace/LogReceiver/logreceiver.h b/workspace/LogReceiver/logreceiver.h index 06a1f3e..baf9ab9 100644 --- a/workspace/LogReceiver/logreceiver.h +++ b/workspace/LogReceiver/logreceiver.h @@ -36,12 +36,13 @@ private slots: signals: void addNewInterface(QString ifName, int index); void changeProgressBarValue(int index, int newValue); + void connectionEstablished(QString ifName); private: QLocalServer *server; quint16 blockSize; - QMap<int, QNetworkInterface > interfacesMap; - QMap<QString, int> indexToIfaceNameMap; + //QMap<int, QNetworkInterface > interfacesMap; + //QMap<QString, int> indexToIfaceNameMap; QMap<QLocalSocket *, QLocalSocket *> clients; QMap<QProcess*, QString> clientProcessToIfNameMap; QString pathToDhcpcdExe; @@ -52,7 +53,7 @@ private: void runDHCPCD(QList<QNetworkInterface> &interfaces); void runDHCPCD(QString interface); - void checkCarrierState(QList<QNetworkInterface> &interfaces); + QList<QNetworkInterface> checkCarrierState(QList<QNetworkInterface> &interfaces); bool checkCarrierState(QString interface); void checkInternetConnection(QString ifName); void checkInternetConnection(QList<QNetworkInterface> &interfaces); |