diff options
author | louis <louis.braun@gmx.de> | 2015-03-12 17:22:16 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-03-12 17:22:16 +0100 |
commit | 3cc8e78e1bf00e16b49520ac416b74b5fd73c906 (patch) | |
tree | 4425c4eb4b9833d927aae2f65d0f3a99d3792f83 /epgelement.h | |
download | vdr-plugin-tvguideng-3cc8e78e1bf00e16b49520ac416b74b5fd73c906.tar.gz vdr-plugin-tvguideng-3cc8e78e1bf00e16b49520ac416b74b5fd73c906.tar.bz2 |
Version 0.0.10.0.1
Diffstat (limited to 'epgelement.h')
-rw-r--r-- | epgelement.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/epgelement.h b/epgelement.h new file mode 100644 index 0000000..3a7b48d --- /dev/null +++ b/epgelement.h @@ -0,0 +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);
+};
+
+#endif //__TVGUIDE_EPGGRID_H
\ No newline at end of file |