diff options
author | chriszero <zerov83@gmail.com> | 2015-02-05 21:32:55 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-02-05 21:32:55 +0100 |
commit | 312c13f4f6b299a976787542869f96b1e66549cf (patch) | |
tree | 7ee2732eaec79d50e0c9718960fd58e2436f10f6 /ControlServer.h | |
parent | 1ecdb2a5d9e05e0d30dae89e3d675218ca4c255e (diff) | |
download | vdr-plugin-plex-312c13f4f6b299a976787542869f96b1e66549cf.tar.gz vdr-plugin-plex-312c13f4f6b299a976787542869f96b1e66549cf.tar.bz2 |
Plex remote support.
Control via Plexapps (Android, IOS...)
Diffstat (limited to 'ControlServer.h')
-rw-r--r-- | ControlServer.h | 10 |
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; |