diff options
Diffstat (limited to 'LogReceiver')
| -rw-r--r-- | LogReceiver/ndgui.cpp | 6 | ||||
| -rw-r--r-- | LogReceiver/ndgui.h | 5 | ||||
| -rw-r--r-- | LogReceiver/routemanager.h | 2 |
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> |
