summaryrefslogtreecommitdiffstats
path: root/workspace/LogReceiver/logreceiver.h
diff options
context:
space:
mode:
Diffstat (limited to 'workspace/LogReceiver/logreceiver.h')
-rw-r--r--workspace/LogReceiver/logreceiver.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/workspace/LogReceiver/logreceiver.h b/workspace/LogReceiver/logreceiver.h
index f73a56a..0c9df48 100644
--- a/workspace/LogReceiver/logreceiver.h
+++ b/workspace/LogReceiver/logreceiver.h
@@ -20,15 +20,22 @@ public:
private slots:
void handleNewConnection();
void handleNewInput();
+ void handleProcessFinished(int exitCode, QProcess::ExitStatus exitStatus);
+ void handleProcessStarted();
private:
Ui::LogReceiverClass ui;
QLabel *statusLabel;
QPushButton *quitButton;
QLocalServer *server;
- QStringList fortunes;
quint16 blockSize;
QMap<QLocalSocket *, QLocalSocket *> clients;
+ QMap<Q_PID, QProcess * > clientProcesses;
+ QString pathToDhcpcdExe;
+ QStringList dhcpcdArguments;
+
+ void runDHCPCD(QList<QNetworkInterface> &interfaces);
+ void getListOfNetworkInterfaces();
};
#endif // LOGRECEIVER_H