summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas2011-09-19 17:29:20 +0200
committerNiklas2011-09-19 17:29:20 +0200
commitfa403d052da5a1a4bb932666ad824b45a84b6169 (patch)
treed1048428715f1a88da931852732b350230056d62
parentroutmanager doRoute: changed the retun value in case of an error to -1 (diff)
downloadfbgui-fa403d052da5a1a4bb932666ad824b45a84b6169.tar.gz
fbgui-fa403d052da5a1a4bb932666ad824b45a84b6169.tar.xz
fbgui-fa403d052da5a1a4bb932666ad824b45a84b6169.zip
solved the stupid mistake. just forgot to add an additional header file. rtnl.h. now it is added an it compiles
-rw-r--r--LogReceiver/ndgui.cpp6
-rw-r--r--LogReceiver/ndgui.h5
-rw-r--r--LogReceiver/routemanager.h2
3 files changed, 13 insertions, 0 deletions
diff --git a/LogReceiver/ndgui.cpp b/LogReceiver/ndgui.cpp
index 5543eef..3fe9c65 100644
--- a/LogReceiver/ndgui.cpp
+++ b/LogReceiver/ndgui.cpp
@@ -183,3 +183,9 @@ void ndgui::showLog()
{
qDebug() << "show log";
}
+
+/*test html gui version*/
+/* slots */
+void ndgui::addInterface() {
+
+}
diff --git a/LogReceiver/ndgui.h b/LogReceiver/ndgui.h
index 81ab266..90af3a3 100644
--- a/LogReceiver/ndgui.h
+++ b/LogReceiver/ndgui.h
@@ -36,6 +36,9 @@ public slots:
void showAbortBootDialog();
void showChooseInterfaceDialog();
+ /*test for html gui version*/
+ void addInterface();
+
private:
Ui::ndguiClass ui;
@@ -65,6 +68,8 @@ private:
void buildGui();
void createInterfaceGroupBox();
+
+
};
#endif // NDGUI_H
diff --git a/LogReceiver/routemanager.h b/LogReceiver/routemanager.h
index 01530c7..0566801 100644
--- a/LogReceiver/routemanager.h
+++ b/LogReceiver/routemanager.h
@@ -11,7 +11,9 @@
#include <arpa/inet.h>
#include <interface.h>
#include <netlink/netlink.h>
+#include <netlink/route/rtnl.h>
#include <netlink/route/route.h>
+
#include <errno.h>
#include <QtCore>