diff options
Diffstat (limited to 'epgelement.h')
-rw-r--r-- | epgelement.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/epgelement.h b/epgelement.h index 3a7b48d..a503914 100644 --- a/epgelement.h +++ b/epgelement.h @@ -1,28 +1,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);
-};
-
+#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
\ No newline at end of file |