From aba821e79cdcf657f84fd1be7c574e29f7835d12 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Sat, 5 May 2007 23:57:05 +0000 Subject: - 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. --- epg_events.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'epg_events.cpp') 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 #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() { } -- cgit v1.2.3