vdr-plugin-tvguide/dummygrid.h

35 lines
926 B
C
Raw Normal View History

#ifndef __TVGUIDE_DUMMYGRID_H
#define __TVGUIDE_DUMMYGRID_H
2013-12-07 15:51:50 +01:00
#include "grid.h"
2019-07-11 12:06:18 +02:00
#include "channelepg.h"
2013-12-07 15:51:50 +01:00
// --- cDummyGrid -------------------------------------------------------------
class cDummyGrid : public cGrid {
private:
time_t start;
time_t end;
cString strText;
2013-05-26 11:38:05 +02:00
void drawText();
2013-07-12 16:00:18 +02:00
time_t Duration(void);
public:
2019-07-11 12:06:18 +02:00
cDummyGrid(cChannelEpg *c, time_t start, time_t end);
2013-05-26 11:38:05 +02:00
virtual ~cDummyGrid(void);
void SetViewportHeight();
void PositionPixmap();
void setText(void);
2013-05-26 11:38:05 +02:00
const cEvent *GetEvent() {return NULL;};
time_t StartTime() { return start; };
time_t EndTime() { return end; };
void SetStartTime(time_t start) { this->start = start; };
2013-05-26 11:38:05 +02:00
void SetEndTime(time_t end) { this->end = end; };
int calcOverlap(cGrid *neighbor);
void setTimer() {};
cString getText(void);
cString getTimeString(void);
2013-05-26 11:38:05 +02:00
void debug();
};
2019-07-11 11:07:13 +02:00
#endif //__TVGUIDE_DUMMYGRID_H