summaryrefslogtreecommitdiff
path: root/src/cprlisten.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cprlisten.h')
-rw-r--r--src/cprlisten.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cprlisten.h b/src/cprlisten.h
index 5808aec..012fe4c 100644
--- a/src/cprlisten.h
+++ b/src/cprlisten.h
@@ -34,10 +34,11 @@
#include "mutex.h"
#include "aa_socket.h"
+#include "info.h"
class CPRListen: public Thread {
public:
- CPRListen(unsigned short port);
+ CPRListen(Info *info, unsigned short port);
~CPRListen();
bool cprChanged();
@@ -47,6 +48,7 @@ public:
void stop(); // Stops the call to listen
private:
+ Info *info;
volatile bool running;
AASocket *socket;