refactoring: moved gateway interaction functions to a separate class
This commit is contained in:
parent
7c8ae9c311
commit
3f55f6a629
6 changed files with 369 additions and 261 deletions
|
|
@ -5,6 +5,9 @@
|
|||
#include <QRegExp>
|
||||
#include <QString>
|
||||
#include <QHostAddress>
|
||||
#include <QNetworkReply>
|
||||
|
||||
#include "core/defs.h"
|
||||
|
||||
|
||||
class NetworkUtilities : public QObject
|
||||
|
|
@ -31,6 +34,8 @@ public:
|
|||
|
||||
static QStringList summarizeRoutes(const QStringList &ips, const QString cidr);
|
||||
|
||||
static amnezia::ErrorCode checkNetworkReplyErrors(const QList<QSslError> &sslErrors, QNetworkReply *reply);
|
||||
|
||||
};
|
||||
|
||||
#endif // NETWORKUTILITIES_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue