summaryrefslogtreecommitdiff
path: root/client/decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/decoder.h')
-rw-r--r--client/decoder.h14
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__*/