summaryrefslogtreecommitdiff
path: root/ControlServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ControlServer.h')
-rw-r--r--ControlServer.h33
1 files changed, 16 insertions, 17 deletions
diff --git a/ControlServer.h b/ControlServer.h
index 8546fa7..e742fb3 100644
--- a/ControlServer.h
+++ b/ControlServer.h
@@ -12,29 +12,28 @@
#include <vdr/thread.h>
-namespace plexclient
-{
+namespace plexclient {
-class ControlServer : public cThread
-{
+ class ControlServer : public cThread {
-public:
- static ControlServer& GetInstance() {
- static ControlServer instance;
- return instance;
- }
- void Stop();
+ public:
+ static ControlServer &GetInstance() {
+ static ControlServer instance;
+ return instance;
+ }
-protected:
- void Action();
+ void Stop();
-private:
- ControlServer();
+ protected:
+ void Action();
- Poco::Net::ServerSocket *m_pSvs;
- Poco::Net::HTTPServer *m_pSrv;
+ private:
+ ControlServer();
-};
+ Poco::Net::ServerSocket *m_pSvs;
+ Poco::Net::HTTPServer *m_pSrv;
+
+ };
}