adzap: move code to determinate monitorLifeTime to own function

Origin commit data
------------------
Commit: 527f11d4de
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-28 (Sun, 28 Feb 2016)

Origin message was:
------------------
- adzap: move code to determinate monitorLifeTime to own function
This commit is contained in:
vanhofen
2016-02-28 23:08:52 +01:00
parent 21a01e1745
commit 7154d0293c
2 changed files with 22 additions and 13 deletions

View File

@@ -43,11 +43,13 @@ class CAdZapMenu: public CMenuTarget
struct timespec zapBackTime;
std::string channelName;
CMenuForwarder *forwarders[9];
CChannelEventList evtlist;
struct timespec monitorLifeTime;
t_channel_id channelId;
sem_t sem;
CAdZapMenu();
void Init();
time_t getMonitorLifeTime();
void Settings();
void Update();
void Run(void);