diff options
| author | Niklas | 2011-09-28 17:44:42 +0200 |
|---|---|---|
| committer | Niklas | 2011-09-28 17:44:42 +0200 |
| commit | a8087a7c1b83ae7770f2b1c278d0eb5318b7e33e (patch) | |
| tree | 127ff5b78cda66b1d80f18a36e3c3a5e58fc3f69 /LogReceiver/networkdiscovery.h | |
| parent | manual config gui added. put the interfaceconfig map into networkDiscovery an... (diff) | |
| download | fbgui-a8087a7c1b83ae7770f2b1c278d0eb5318b7e33e.tar.gz fbgui-a8087a7c1b83ae7770f2b1c278d0eb5318b7e33e.tar.xz fbgui-a8087a7c1b83ae7770f2b1c278d0eb5318b7e33e.zip | |
added a select field to the manual conf gui. also fixed some bugs in the ip4_manualConf function
Diffstat (limited to 'LogReceiver/networkdiscovery.h')
| -rw-r--r-- | LogReceiver/networkdiscovery.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/LogReceiver/networkdiscovery.h b/LogReceiver/networkdiscovery.h index 48a6a7e..5e79887 100644 --- a/LogReceiver/networkdiscovery.h +++ b/LogReceiver/networkdiscovery.h @@ -48,8 +48,9 @@ public: QStringList* args = NULL); int replaceDefaultRoute(QString &ifName, QString &gateway, int af, int mss); int ip4_replaceDefaultRoute(QString ifName, QString gateway, int mss); + QString getGatewayForInterface(QString ifName); + int ip4_setManualConfiguration(QVariantMap result); - QString getGatewayForInterface(QString); private slots: void handleNewConnection(); @@ -67,6 +68,7 @@ signals: void updateStatusLabel(QString ifName, QString status); void allProcessesFinished(); void continueBoot(QString ifName, int userChoice); + void setManualConfInterfaces(QString jsonArr); private: QLocalServer *server; @@ -93,6 +95,7 @@ private: QList<QString>checkCarrierState(QList<QString> &interfaces); bool checkCarrierState(QString interface); bool checkConnectivity(QString ifName); + bool checkConnectivityViaTcp(QString server); QList<QString> getListOfNetworkInterfaces(); bool checkBlackList(QString i); |
