aboutsummaryrefslogtreecommitdiff
path: root/lib/service/event.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-31 16:19:23 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-31 16:19:23 +0000
commit62df50fabcb503c81aaaac60819bda2578317323 (patch)
treebb0ce762931911f4023dd732d40bfd1002582fe3 /lib/service/event.cpp
parentf7450135060448745fa3a2b69ae26ec1a27d5a14 (diff)
downloadenigma2-62df50fabcb503c81aaaac60819bda2578317323.tar.gz
enigma2-62df50fabcb503c81aaaac60819bda2578317323.zip
add ability to get the eventid from a eServiceEventPtr
Diffstat (limited to 'lib/service/event.cpp')
-rw-r--r--lib/service/event.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/service/event.cpp b/lib/service/event.cpp
index 8a75b9e9..f84c38b7 100644
--- a/lib/service/event.cpp
+++ b/lib/service/event.cpp
@@ -163,6 +163,7 @@ RESULT eServiceEvent::parseFrom(Event *evt, int tsidonid)
(stime_bcd >> 8)&0xFF,
stime_bcd & 0xFF
);
+ m_event_id = evt->getEventId();
m_duration = fromBCD(duration>>16)*3600+fromBCD(duration>>8)*60+fromBCD(duration);
std::string country="de_DE"; // TODO use local data here
for (int i=0; i < MAX_LANG; i++)