summaryrefslogtreecommitdiff
path: root/channelepg.h
diff options
context:
space:
mode:
Diffstat (limited to 'channelepg.h')
-rw-r--r--channelepg.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/channelepg.h b/channelepg.h
index edd0e0c..4f05af6 100644
--- a/channelepg.h
+++ b/channelepg.h
@@ -7,7 +7,7 @@
#include "headergrid.h"
#include "switchtimer.h"
-class cGrid;
+class cGridElement;
class cEpgGrid;
class cHeaderGrid;
@@ -19,7 +19,7 @@ private:
int num;
const cChannel *channel;
cHeaderGrid *header;
- cList<cGrid> grids;
+ cList<cGridElement> grids;
#if VDRVERSNUM >= 20301
#else
cSchedulesLock *schedulesLock;
@@ -27,8 +27,8 @@ private:
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);
+ cGridElement *addEpgGrid(const cEvent *event, cGridElement *firstGrid, bool color);
+ cGridElement *addDummyGrid(time_t start, time_t end, cGridElement *firstGrid, bool color);
public:
cChannelEpg(int num, const cChannel *channel, cTimeManager *timeManager);
virtual ~cChannelEpg(void);
@@ -41,12 +41,12 @@ public:
int Start() { return timeManager->GetStart(); };
int Stop() { return timeManager->GetEnd(); };
const char* Name() { return channel->Name(); };
- const cChannel * getChannel() {return channel;}
- cGrid * getActive();
- cGrid * getNext(cGrid *activeGrid);
- cGrid * getPrev(cGrid *activeGrid);
- cGrid * getNeighbor(cGrid *activeGrid);
- bool isFirst(cGrid *grid);
+ const cChannel *getChannel() {return channel;}
+ cGridElement *getActive();
+ cGridElement *getNext(cGridElement *activeGrid);
+ cGridElement *getPrev(cGridElement *activeGrid);
+ cGridElement *getNeighbor(cGridElement *activeGrid);
+ bool isFirst(cGridElement *grid);
void AddNewGridsAtStart();
void AddNewGridsAtEnd();
void ClearOutdatedStart();