summaryrefslogtreecommitdiffstats
path: root/LogReceiver/routemanager.h
diff options
context:
space:
mode:
authorNiklas2011-09-05 17:04:22 +0200
committerNiklas2011-09-05 17:04:22 +0200
commit5ea57d78c4c42551fcf57d423b13a0897f7db980 (patch)
tree134f4bbfacb52040a75529185f4a959b3d0d23c8 /LogReceiver/routemanager.h
parentadded a new container class which holds config informations about an interfac... (diff)
downloadfbgui-5ea57d78c4c42551fcf57d423b13a0897f7db980.tar.gz
fbgui-5ea57d78c4c42551fcf57d423b13a0897f7db980.tar.xz
fbgui-5ea57d78c4c42551fcf57d423b13a0897f7db980.zip
tried to manage cmake but failed. also tried to add the del_route() method of interface.c but failed too. made a static lib of the customdhcpcd files but couldn't change it to a shared lib. (tried to add SHARE to the add_library code but this resulted in an error multiple declarations of main...
Diffstat (limited to 'LogReceiver/routemanager.h')
-rw-r--r--LogReceiver/routemanager.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/LogReceiver/routemanager.h b/LogReceiver/routemanager.h
new file mode 100644
index 0000000..63ec778
--- /dev/null
+++ b/LogReceiver/routemanager.h
@@ -0,0 +1,28 @@
+/*
+ * routemanager.h
+ *
+ * Created on: Sep 5, 2011
+ * Author: niklas
+ */
+
+#ifndef ROUTEMANAGER_H_
+#define ROUTEMANAGER_H_
+
+#include <QtCore>
+
+class routemanager : public QObject{
+Q_OBJECT
+
+public:
+ routemanager();
+ virtual ~routemanager();
+
+ void addRoute(QString ifname, QString destination, QString netmask, QString gateway, int metric);
+ void delRoute(QString ifname, QString destination, QString netmask, QString gateway, int metric);
+
+private:
+ QByteArray ba;
+};
+
+
+#endif /* ROUTEMANAGER_H_ */