From 495330ce3cfb6b168d2fb9b56aa125bbc7ff6e7d Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 10 Jan 2006 10:03:41 +0000 Subject: *** empty log message *** --- src/cprlisten.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/cprlisten.h') diff --git a/src/cprlisten.h b/src/cprlisten.h index 57551f5..5808aec 100644 --- a/src/cprlisten.h +++ b/src/cprlisten.h @@ -33,15 +33,25 @@ #include "thread.h" #include "mutex.h" +#include "aa_socket.h" + class CPRListen: public Thread { public: CPRListen(unsigned short port); ~CPRListen(); + bool cprChanged(); std::string getCpr(); void thread_main(); + void stop(); // Stops the call to listen + private: + + volatile bool running; + AASocket *socket; + + bool cprchanged; unsigned short port; std::string cpr; Mutex mutex; -- cgit v1.2.3