summaryrefslogtreecommitdiff
path: root/ControlServer.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2014-11-17 21:38:09 +0100
committerchriszero <zerov83@gmail.com>2014-11-17 21:38:09 +0100
commitfc243d8bfde7c24168b67f90341e7d0d114114b2 (patch)
treec8756fd61712d63801f2085959ac1b9468533af6 /ControlServer.cpp
parent23f9f7712bfa33b5a488a447a6fabe6035cc3240 (diff)
downloadvdr-plugin-plex-fc243d8bfde7c24168b67f90341e7d0d114114b2.tar.gz
vdr-plugin-plex-fc243d8bfde7c24168b67f90341e7d0d114114b2.tar.bz2
Removed c++11 dependency
Diffstat (limited to 'ControlServer.cpp')
-rw-r--r--ControlServer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ControlServer.cpp b/ControlServer.cpp
index 439dc7a..c727e20 100644
--- a/ControlServer.cpp
+++ b/ControlServer.cpp
@@ -3,6 +3,11 @@
namespace plexclient
{
+ControlServer::ControlServer() {
+ m_pSvs = new Poco::Net::ServerSocket(3200);;
+ m_pSrv = new Poco::Net::HTTPServer(new PlexReqHandlerFactory, *m_pSvs, new Poco::Net::HTTPServerParams);
+}
+
void ControlServer::Start() {
// start the HTTPServer
m_pSrv->start();