summaryrefslogtreecommitdiff
path: root/channelcolumn.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-07-09 00:17:42 +0200
committerlouis <louis.braun@gmx.de>2013-07-09 00:17:42 +0200
commit2a7a011055a44516ec981e525776394a8c04dcfe (patch)
tree55c9828c7b619622ec36da3f4b41318ed6c85ae0 /channelcolumn.h
parent6da4b610d98cafe7c20555c926359d7f89347c76 (diff)
downloadvdr-plugin-tvguide-2a7a011055a44516ec981e525776394a8c04dcfe.tar.gz
vdr-plugin-tvguide-2a7a011055a44516ec981e525776394a8c04dcfe.tar.bz2
Version 0.0.6
Diffstat (limited to 'channelcolumn.h')
-rw-r--r--channelcolumn.h6
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();
};