#ifndef ROUTER_H #define ROUTER_H #include #include #include #include #include #include /** * @brief The Router class - General class for handling ip routing */ class Router : public QObject { Q_OBJECT public: static bool routeAdd(const QString &ip, const QString &gw, QString mask = QString()); static int routeAddList(const QString &gw, const QStringList &ips); static bool clearSavedRoutes(); static bool routeDelete(const QString &ip); static void flushDns(); }; #endif // ROUTER_H