The Network class header file has been updated.

This commit is contained in:
Denis Davydov 2018-05-11 15:27:07 +03:00
parent 33e436e330
commit 69e3a70d7b

View File

@ -1,11 +1,16 @@
#ifndef NETWORK_H #ifndef NETWORK_H
#define NETWORK_H #define NETWORK_H
#include "lib/json/json.hpp"
class network #include <QUdpSocket>
{ using json = nlohmann::json;
public:
network(); class network
}; {
public:
#endif // NETWORK_H send(QString str, QHostAddress ip);
private:
sendPing(QHostAddress ip);
};
#endif // NETWORK_H