From 635d6f901892cb7df028eb41f3d727e569a3af7e Mon Sep 17 00:00:00 2001 From: Niklas Date: Thu, 14 Jul 2011 16:59:40 +0200 Subject: customdhcpcd is now compiling and can communicate with the LogReceiver started to implement the QProcess handling (parallel calls of dhcpcd out of fbgui/LogReceiver) --- workspace/LogReceiver/logreceiver.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'workspace/LogReceiver/logreceiver.h') 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 clients; + QMap clientProcesses; + QString pathToDhcpcdExe; + QStringList dhcpcdArguments; + + void runDHCPCD(QList &interfaces); + void getListOfNetworkInterfaces(); }; #endif // LOGRECEIVER_H -- cgit v1.2.3-55-g7522