blob: a50391495b86fb682f214b51737197ccfe063d3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef __TVGUIDE_EPGGRID_H
#define __TVGUIDE_EPGGRID_H
#include <vdr/epg.h>
#include "gridelement.h"
#include "channelepg.h"
// --- cEpgGrid -------------------------------------------------------------
class cEpgElement : public cGridElement {
private:
const cEvent *event;
time_t Duration(void) { return event->Duration(); };
public:
cEpgElement(const cEvent *event, cChannelEpg *owner);
virtual ~cEpgElement(void);
const cEvent *GetEvent(void) {return event;};
time_t StartTime(void) { return event->StartTime(); };
time_t EndTime(void) { return event->EndTime(); };
void SetTimer(void);
void SetSwitchTimer(void);
const char *Title(void);
const char *ShortText(void);
const cEvent *Event(void) { return event; };
void Debug(void);
};
#endif //__TVGUIDE_EPGGRID_H
|