summaryrefslogtreecommitdiff
path: root/client/networksender.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/networksender.h')
-rw-r--r--client/networksender.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/client/networksender.h b/client/networksender.h
index a25dfaf..e3beb5a 100644
--- a/client/networksender.h
+++ b/client/networksender.h
@@ -35,6 +35,8 @@
#include <frame.h>
+#include "status.h"
+
class NetworkSender : public QThread
{
public:
@@ -47,6 +49,8 @@ public:
void run();
void stop();
+ void getServerStatus(Status *status);
+
private:
QString ip;
unsigned short port;
@@ -57,6 +61,15 @@ private:
QSemaphore terminatesemaphore;
QSemaphore semaphore;
QLinkedList<Frame*> framelist;
+
+ // Server stats
+ QMutex statusmutex;
+ unsigned int server_diskspace;
+ unsigned int server_diskspace_max;
+ unsigned int server_load;
+ unsigned int server_load_max;
+ unsigned int server_ping_ms;
+ double server_fps;
};
#endif/*__MIAV_NETWORKSENDER_H__*/