summaryrefslogtreecommitdiff
path: root/channelcolumn.h
diff options
context:
space:
mode:
Diffstat (limited to 'channelcolumn.h')
-rw-r--r--channelcolumn.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/channelcolumn.h b/channelcolumn.h
index 0e1d138..799500f 100644
--- a/channelcolumn.h
+++ b/channelcolumn.h
@@ -20,7 +20,10 @@ private:
const cChannel *channel;
cHeaderGrid *header;
cList<cGrid> grids;
+#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+#else
cSchedulesLock *schedulesLock;
+#endif
const cSchedules *schedules;
bool hasTimer;
bool hasSwitchTimer;
@@ -50,7 +53,11 @@ public:
void ClearOutdatedEnd();
int GetNum() {return num;};
void SetNum(int num) {this->num = num;};
+#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+ void setTimer();
+#else
void setTimer() {hasTimer = channel->HasTimer();};
+#endif
bool HasTimer() { return hasTimer; };
void setSwitchTimer() {hasSwitchTimer = SwitchTimers.ChannelInSwitchList(channel);};
bool HasSwitchTimer() { return hasSwitchTimer; };