summaryrefslogtreecommitdiff
path: root/epg_events.cpp
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-05-05 23:57:05 +0000
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-05-05 23:57:05 +0000
commitaba821e79cdcf657f84fd1be7c574e29f7835d12 (patch)
tree073688a2c98896e8b2a3499d4aa51306848b68b3 /epg_events.cpp
parent36a0bb39d832bef433ee81c4f156411df521b358 (diff)
downloadvdr-plugin-live-aba821e79cdcf657f84fd1be7c574e29f7835d12.tar.gz
vdr-plugin-live-aba821e79cdcf657f84fd1be7c574e29f7835d12.tar.bz2
- General cleanup of recordings. Made design more like other pages
- Bugfix for #289, #291 - Adapted styles and helper classes. - recordings should be now strict XHTML.
Diffstat (limited to 'epg_events.cpp')
-rw-r--r--epg_events.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/epg_events.cpp b/epg_events.cpp
index ec95fde..2d5237c 100644
--- a/epg_events.cpp
+++ b/epg_events.cpp
@@ -1,6 +1,7 @@
#include <time.h>
#include "tools.h"
+#include "recordings.h"
#include "epg_events.h"
@@ -18,6 +19,7 @@ namespace vdrlive
m_title(title),
m_short_descr(short_descr),
m_long_descr(long_descr),
+ m_archived(),
m_start_time(start_time),
m_end_time(end_time)
{
@@ -29,11 +31,31 @@ namespace vdrlive
m_title(event->Title() ? event->Title() : ""),
m_short_descr(event->ShortText() ? event->ShortText() : ""),
m_long_descr(event->Description() ? event->Description() : ""),
+ m_archived(),
m_start_time(event->StartTime()),
m_end_time(event->EndTime())
{
}
+ EpgEvent::EpgEvent(const std::string& id,
+ const std::string& caption,
+ const std::string& title,
+ const std::string& short_descr,
+ const std::string& long_descr,
+ const std::string& archived,
+ time_t start_time,
+ time_t end_time) :
+ m_eventId(id),
+ m_caption(caption),
+ m_title(title),
+ m_short_descr(short_descr),
+ m_long_descr(long_descr),
+ m_archived(archived),
+ m_start_time(start_time),
+ m_end_time(end_time)
+ {
+ }
+
EpgEvent::~EpgEvent()
{
}