diff options
Diffstat (limited to 'channelcolumn.h')
-rw-r--r-- | channelcolumn.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/channelcolumn.h b/channelcolumn.h index a84f9a6..1dbd174 100644 --- a/channelcolumn.h +++ b/channelcolumn.h @@ -16,6 +16,7 @@ private: cSchedulesLock *schedulesLock; const cSchedules *schedules; bool hasTimer; + bool hasSwitchTimer; cGrid *addEpgGrid(const cEvent *event, cGrid *firstGrid, bool color); cGrid *addDummyGrid(time_t start, time_t end, cGrid *firstGrid, bool color); public: @@ -42,8 +43,11 @@ public: void ClearOutdatedEnd(); int GetNum() {return num;}; void SetNum(int num) {this->num = num;}; - void setTimer() {hasTimer = true;}; + void setTimer() {hasTimer = channel->HasTimer();}; bool HasTimer() { return hasTimer; }; + void setSwitchTimer() {hasSwitchTimer = SwitchTimers.ChannelInSwitchList(channel);}; + bool HasSwitchTimer() { return hasSwitchTimer; }; + void SetTimers(); void clearGrids(); void dumpGrids(); }; |