summaryrefslogtreecommitdiff
path: root/epg_events.h
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.h
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.h')
-rw-r--r--epg_events.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/epg_events.h b/epg_events.h
index 330f7ba..03c7947 100644
--- a/epg_events.h
+++ b/epg_events.h
@@ -15,7 +15,6 @@
namespace vdrlive
{
-
class EpgEvent
{
public:
@@ -31,6 +30,15 @@ namespace vdrlive
const cEvent* event,
const char* channelName = "");
+ 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);
+
virtual ~EpgEvent();
const std::string& Id() const { return m_eventId; }
@@ -43,6 +51,8 @@ namespace vdrlive
const std::string& LongDescr() const { return m_long_descr; }
+ const std::string& Archived() const { return m_archived; }
+
const std::string StartTime(const char* format) const;
const std::string EndTime(const char* format) const;
@@ -59,6 +69,7 @@ namespace vdrlive
std::string m_title;
std::string m_short_descr;
std::string m_long_descr;
+ std::string m_archived;
time_t m_start_time;
time_t m_end_time;
};