summaryrefslogtreecommitdiff
path: root/channelcolumn.h
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-11 12:07:35 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-11 12:07:35 +0200
commit1df9641621203b9eeb87c269c9e962691398e010 (patch)
treeba92ceb0dab90331c2435f8c5837ff2b2f014d83 /channelcolumn.h
parent3ed46bd8811b842643b6cfbd274440c16bc33aa7 (diff)
downloadvdr-plugin-tvguide-1df9641621203b9eeb87c269c9e962691398e010.tar.gz
vdr-plugin-tvguide-1df9641621203b9eeb87c269c9e962691398e010.tar.bz2
Rename channelcolumn.* to channelepg.*
Diffstat (limited to 'channelcolumn.h')
-rw-r--r--channelcolumn.h69
1 files changed, 0 insertions, 69 deletions
diff --git a/channelcolumn.h b/channelcolumn.h
deleted file mode 100644
index 30b4211..0000000
--- a/channelcolumn.h
+++ /dev/null
@@ -1,69 +0,0 @@
-#ifndef __TVGUIDE_CHANNELEPG_H
-#define __TVGUIDE_CHANNELEPG_H
-
-#include <vdr/tools.h>
-#include "grid.h"
-#include "epggrid.h"
-#include "headergrid.h"
-#include "switchtimer.h"
-
-class cGrid;
-class cEpgGrid;
-class cHeaderGrid;
-
-// --- cChannelEpg -------------------------------------------------------------
-
-class cChannelEpg : public cListObject, public cStyledPixmap {
-private:
- cMyTime *myTime;
- int num;
- const cChannel *channel;
- cHeaderGrid *header;
- cList<cGrid> grids;
-#if VDRVERSNUM >= 20301
-#else
- cSchedulesLock *schedulesLock;
-#endif
- 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:
- cChannelEpg(int num, const cChannel *channel, cMyTime *myTime);
- virtual ~cChannelEpg(void);
- void createHeader();
- void drawHeader();
- bool readGrids();
- void drawGrids();
- int getX();
- int getY();
- int Start() { return myTime->GetStart(); };
- int Stop() { return myTime->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);
- void AddNewGridsAtStart();
- void AddNewGridsAtEnd();
- void ClearOutdatedStart();
- void ClearOutdatedEnd();
- int GetNum() {return num;};
- void SetNum(int num) {this->num = num;};
-#if VDRVERSNUM >= 20301
- void setTimer();
-#else
- void setTimer() {hasTimer = channel->HasTimer();};
-#endif
- bool HasTimer() { return hasTimer; };
- void setSwitchTimer() {hasSwitchTimer = SwitchTimers.ChannelInSwitchList(channel);};
- bool HasSwitchTimer() { return hasSwitchTimer; };
- void SetTimers();
- void clearGrids();
- void dumpGrids();
-};
-
-#endif //__TVGUIDE_CHANNELEPG_H