diff options
author | lado <herrlado@gmail.com> | 2013-02-24 23:12:09 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-02-24 23:12:09 +0100 |
commit | d994dfef2dc15e4683f0219a7528f4abf937f5b4 (patch) | |
tree | ad68a72b117bacd415e5750eb3838b78d986b312 /vdr-vdrmanager/vdrmanagerthread.cpp | |
parent | 60182cc6439948e025df7698c68a70c563fa8e34 (diff) | |
download | vdr-manager-d994dfef2dc15e4683f0219a7528f4abf937f5b4.tar.gz vdr-manager-d994dfef2dc15e4683f0219a7528f4abf937f5b4.tar.bz2 |
refactor
Diffstat (limited to 'vdr-vdrmanager/vdrmanagerthread.cpp')
-rw-r--r-- | vdr-vdrmanager/vdrmanagerthread.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/vdr-vdrmanager/vdrmanagerthread.cpp b/vdr-vdrmanager/vdrmanagerthread.cpp index 7c72444..2a4ca64 100644 --- a/vdr-vdrmanager/vdrmanagerthread.cpp +++ b/vdr-vdrmanager/vdrmanagerthread.cpp @@ -8,20 +8,20 @@ #include "select.h" #include "helpers.h" -cAndroVdrThread::cAndroVdrThread(int port, const char * password, bool forceCheckSvdrp) +cVdrManagerThread::cVdrManagerThread(int port, const char * password, bool forceCheckSvdrp) { select = NULL; - this->port = port; - this->password = password; - this->forceCheckSvdrp = forceCheckSvdrp; + this -> port = port; + this -> password = password; + this -> forceCheckSvdrp = forceCheckSvdrp; } -cAndroVdrThread::~cAndroVdrThread() +cVdrManagerThread::~cVdrManagerThread() { Cleanup(); } -void cAndroVdrThread::Action(void) +void cVdrManagerThread::Action(void) { // create listener socket if (!Init()) @@ -34,7 +34,7 @@ void cAndroVdrThread::Action(void) Cleanup(); } -bool cAndroVdrThread::Init() +bool cVdrManagerThread::Init() { // create select select = new cSelect(); @@ -52,12 +52,12 @@ bool cAndroVdrThread::Init() return true; } -void cAndroVdrThread::Cleanup() +void cVdrManagerThread::Cleanup() { if (select) delete select; } -void cAndroVdrThread::Shutdown() +void cVdrManagerThread::Shutdown() { } |