diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-11 15:06:07 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-11 15:06:07 +0200 |
commit | d21b1496f0f80732f290b39610253b857ad7a992 (patch) | |
tree | 633444984b091a2b4a224b753a52705e714dbaa5 /channelepg.h | |
parent | 5ff172c987fc2c6c516c38a2d5018ac1726c54b7 (diff) | |
download | vdr-plugin-tvguide-d21b1496f0f80732f290b39610253b857ad7a992.tar.gz vdr-plugin-tvguide-d21b1496f0f80732f290b39610253b857ad7a992.tar.bz2 |
Change cGrid to cGridElement
Diffstat (limited to 'channelepg.h')
-rw-r--r-- | channelepg.h | 20 |
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(); |