From 4623e7b345f850ac44cdcacbd0e43e139a4baa6a Mon Sep 17 00:00:00 2001 From: louis Date: Sun, 13 Mar 2016 16:07:21 +0100 Subject: added VDR 2.3.1 compatibility --- epgelement.h | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'epgelement.h') 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 -#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 +#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 -- cgit v1.2.3