vdr-plugin-tvguide/dummygrid.h

31 lines
885 B
C
Raw Normal View History

#ifndef __TVGUIDE_DUMMYGRID_H
#define __TVGUIDE_DUMMYGRID_H
// --- 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:
2013-05-26 11:38:05 +02:00
cDummyGrid(cChannelColumn *c, time_t start, time_t end);
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();
};
#endif //__TVGUIDE_DUMMYGRID_H