From 8196872e3b240ef93fc17dd3c05a7d97a8015d88 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 25 Aug 2006 21:20:07 +0000 Subject: Rearranged the network and socket code. Added status messages sent over the network using udp packets. --- client/decoder.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'client/decoder.h') diff --git a/client/decoder.h b/client/decoder.h index 99cdd58..50c0307 100644 --- a/client/decoder.h +++ b/client/decoder.h @@ -36,7 +36,12 @@ #include "dv.h" #include "networksender.h" -#include "status.h" +#include + +typedef struct { + double fps; + int queuelen; +} thread_status_t; class Decoder : public QThread { @@ -55,7 +60,7 @@ public: void pframeAcquire(); void pframeRelease(); - Status status(); + std::vector status(); protected: bool eventFilter(QObject *o, QEvent *e); -- cgit v1.2.3