summaryrefslogtreecommitdiff
path: root/ControlServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ControlServer.h')
-rw-r--r--ControlServer.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/ControlServer.h b/ControlServer.h
index f349533..8546fa7 100644
--- a/ControlServer.h
+++ b/ControlServer.h
@@ -10,10 +10,12 @@
#include "PlexHTTPRequestHandler.h"
#include "PlexReqHandlerFactory.h"
+#include <vdr/thread.h>
+
namespace plexclient
{
-class ControlServer
+class ControlServer : public cThread
{
public:
@@ -21,12 +23,14 @@ public:
static ControlServer instance;
return instance;
}
- void Start();
void Stop();
+protected:
+ void Action();
+
private:
ControlServer();
-
+
Poco::Net::ServerSocket *m_pSvs;
Poco::Net::HTTPServer *m_pSrv;