diff options
Diffstat (limited to 'client/networksender.h')
-rw-r--r-- | client/networksender.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/networksender.h b/client/networksender.h index 43bb797..a25dfaf 100644 --- a/client/networksender.h +++ b/client/networksender.h @@ -41,11 +41,11 @@ public: NetworkSender(QString cpr); ~NetworkSender(); - void newConnection(QString cpr); void pushFrame(char* frame, bool freeze, bool snapshot); - void endConnection(); + unsigned int queueSize(); void run(); + void stop(); private: QString ip; @@ -54,9 +54,9 @@ private: volatile bool running; QMutex mutex; + QSemaphore terminatesemaphore; QSemaphore semaphore; QLinkedList<Frame*> framelist; - }; #endif/*__MIAV_NETWORKSENDER_H__*/ |