summaryrefslogtreecommitdiff
path: root/client/networksender.h
diff options
context:
space:
mode:
authordeva <deva>2006-05-24 09:15:57 +0000
committerdeva <deva>2006-05-24 09:15:57 +0000
commit7d547a29164cf9318a7eca918705bbc30e93b81d (patch)
treeb78b9e756c40766d2c85e7dc35aa6c932b7bf747 /client/networksender.h
parentdd8e7832c69a5ef484a2f3b6054a482d29275f85 (diff)
*** empty log message ***
Diffstat (limited to 'client/networksender.h')
-rw-r--r--client/networksender.h6
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__*/