diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-02-27 02:20:31 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-02-27 02:20:31 +0000 |
| commit | dba614edd2aad3c17e244914eaef3809d8300cb1 (patch) | |
| tree | 382782ddff50bf88e421d933b13e35b9e5682cff /lib/service/event.cpp | |
| parent | 1cdf6cb021fcaa6548b90ba7b6765cf1e8b8b37b (diff) | |
| download | enigma2-dba614edd2aad3c17e244914eaef3809d8300cb1.tar.gz enigma2-dba614edd2aad3c17e244914eaef3809d8300cb1.zip | |
- hopefully fixed some python/refcount stuff (__deref__ is still evil!)
- first work on skin support, not really far
- improved infobar
- deletes components when destroying screens
- fixed elistbox and component
- add ability to change bouqet - real query parser still unfinished
Diffstat (limited to 'lib/service/event.cpp')
| -rw-r--r-- | lib/service/event.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/service/event.cpp b/lib/service/event.cpp index 7ea16560..58079da0 100644 --- a/lib/service/event.cpp +++ b/lib/service/event.cpp @@ -8,8 +8,7 @@ DEFINE_REF(eServiceEvent); RESULT eServiceEvent::parseFrom(Event *evt) { m_begin = 0; // ich bin FAUL - m_duration = evt->getDuration(); - + m_duration = (evt->getDuration() & 0xFF) + ((evt->getDuration() >> 8) & 0xFF) * 60 + ((evt->getDuration() >> 16) & 0xFF) * 24 * 60; for (DescriptorConstIterator desc = evt->getDescriptors()->begin(); desc != evt->getDescriptors()->end(); ++desc) { @@ -24,4 +23,7 @@ RESULT eServiceEvent::parseFrom(Event *evt) } } } + return 0; } + +DEFINE_REF(eDebugClass); |
