summaryrefslogtreecommitdiffstats
path: root/LogReceiver/logreceiver.h
diff options
context:
space:
mode:
Diffstat (limited to 'LogReceiver/logreceiver.h')
-rw-r--r--LogReceiver/logreceiver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/LogReceiver/logreceiver.h b/LogReceiver/logreceiver.h
index a8572d0..e30e85b 100644
--- a/LogReceiver/logreceiver.h
+++ b/LogReceiver/logreceiver.h
@@ -18,6 +18,7 @@ Q_OBJECT
#define DEFAULT_QTSOCKETADDRESS "/var/tmp/qt_c_socket_default"
#define DEFAULT_PATHTODHCPCDEXE "/home/niklas/fbgui/customdhcpcd/src/customdhcpcd"
#define DEFAULT_GATEWAY_INFO_LOCATION "/var/tmp/gateways_"
+#define ACK_SIZE 4
public:
LogReceiver();
@@ -38,7 +39,7 @@ private slots:
signals:
void addNewInterface(QString ifName);
void changeProgressBarValue(QString ifName, int newValue);
- void connectionEstablished(QString ifName);
+ void connectionEstablished(QString ifName, QString gateway);
void abortBoot(QString msg);
void updateStatusLabel(QString ifName, QString status);
void allProcessesFinished();
@@ -57,6 +58,7 @@ private:
QNetworkConfigurationManager configurationManager;
QNetworkAccessManager *accessManager;
int numberOfProcesses;
+ //const char ack[ACK_SIZE];
void handleNewInput(QLocalSocket * client);