diff options
author | deva <deva> | 2006-05-24 09:15:57 +0000 |
---|---|---|
committer | deva <deva> | 2006-05-24 09:15:57 +0000 |
commit | 7d547a29164cf9318a7eca918705bbc30e93b81d (patch) | |
tree | b78b9e756c40766d2c85e7dc35aa6c932b7bf747 /client/decoder.h | |
parent | dd8e7832c69a5ef484a2f3b6054a482d29275f85 (diff) |
*** empty log message ***
Diffstat (limited to 'client/decoder.h')
-rw-r--r-- | client/decoder.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/client/decoder.h b/client/decoder.h index 26d86d7..717f10a 100644 --- a/client/decoder.h +++ b/client/decoder.h @@ -31,11 +31,19 @@ #include <QSemaphore> #include <QMutex> -#include <QList> +#include <QLinkedList> +//#include <QList> #include "dv.h" #include "networksender.h" +class Status { +public: + QList<unsigned int> queue_sizes; + unsigned int server_diskspace; + unsigned int server_ping; +}; + class Decoder : public QThread { Q_OBJECT @@ -52,6 +60,8 @@ public: char *pframeAcquire(); void pframeRelease(); + Status status(); + protected: bool eventFilter(QObject *o, QEvent *e); @@ -64,7 +74,7 @@ private: QMutex mutex; - QList<NetworkSender *> senders; + QLinkedList<NetworkSender *> senders; }; #endif/*__MIAV_DECODER_H__*/ |