From 69e3a70d7b6043165799accf8c694513f3b1754e Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Fri, 11 May 2018 15:27:07 +0300 Subject: [PATCH] The Network class header file has been updated. --- src/network.h | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/src/network.h b/src/network.h index 56bb290..f05a19d 100644 --- a/src/network.h +++ b/src/network.h @@ -1,11 +1,16 @@ -#ifndef NETWORK_H -#define NETWORK_H - - -class network -{ -public: - network(); -}; - -#endif // NETWORK_H \ No newline at end of file +#ifndef NETWORK_H +#define NETWORK_H + +#include "lib/json/json.hpp" +#include +using json = nlohmann::json; + +class network +{ + public: + send(QString str, QHostAddress ip); + private: + sendPing(QHostAddress ip); +}; + +#endif // NETWORK_H