diff options
author | deva <deva> | 2006-05-25 18:18:48 +0000 |
---|---|---|
committer | deva <deva> | 2006-05-25 18:18:48 +0000 |
commit | d86028ba3e6c0db3c1f56077f481b3bebf883d86 (patch) | |
tree | 4d53aa133d92b40f7de46ac07f9817111379166a /client/networksender.h | |
parent | 7d547a29164cf9318a7eca918705bbc30e93b81d (diff) |
*** empty log message ***
Diffstat (limited to 'client/networksender.h')
-rw-r--r-- | client/networksender.h | 13 |
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__*/ |