summaryrefslogtreecommitdiffstats
path: root/LogReceiver/logreceiver.h
diff options
context:
space:
mode:
Diffstat (limited to 'LogReceiver/logreceiver.h')
-rw-r--r--LogReceiver/logreceiver.h41
1 files changed, 29 insertions, 12 deletions
diff --git a/LogReceiver/logreceiver.h b/LogReceiver/logreceiver.h
index e30e85b..b11fd0c 100644
--- a/LogReceiver/logreceiver.h
+++ b/LogReceiver/logreceiver.h
@@ -1,27 +1,44 @@
#ifndef LOGRECEIVER_H
#define LOGRECEIVER_H
-#include <qprocess.h>
-#include <qnetworkinterface.h>
-#include <qnetworkconfigmanager.h>
-#include <qnetworkaccessmanager.h>
-#include <qnetworksession.h>
-#include <qnetworkreply.h>
-#include <qsslerror.h>
+#include <QMap>
+#include <QtNetwork>
+#include <QProcess>
-class QLocalServer;
-class QLocalSocket;
+#include <arpa/inet.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include <syslog.h>
+#include <sysfs/libsysfs.h>
+
+#include "interfaceconfiguration.h"
+//#include <qlocalserver.h>
+//#include <qlocalsocket.h>
+#include "status.h"
+#include "dhcp.h"
+#include "interface.h"
+
+//#include <QProcess>
+//#include <QLocalSocket>
+//#include <QLocalServer>
+//#include <QTcpSocket>
+//#include <QSsl>
+//#include <QNetworkConfigurationManager>
+//#include <QNetworkAccessManager>
+#include <QWidget>
-class LogReceiver: public QObject {
-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
+class LogReceiver: public QObject {
+Q_OBJECT
+
public:
- LogReceiver();
+ LogReceiver(QObject *parent=0);
~LogReceiver();
void initAndRun(QString serverPath = DEFAULT_QTSOCKETADDRESS,