aboutsummaryrefslogtreecommitdiff
path: root/lib/service
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-30 20:03:35 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-30 20:03:35 +0000
commit2b557e7ef4b0518736c5162a501cd9bc743930b3 (patch)
treee9995bb4a94f52f063e0a6dc03c7f59059972245 /lib/service
parentbc2f8b7dcdacde72c1f06dcb5bd9672094b17ed5 (diff)
downloadenigma2-2b557e7ef4b0518736c5162a501cd9bc743930b3.tar.gz
enigma2-2b557e7ef4b0518736c5162a501cd9bc743930b3.zip
more changes for service groups (replacement for zapping alternatives
plugin).. now its basicaly working.. TODO: change zapping alternatives editor for new style
Diffstat (limited to 'lib/service')
-rw-r--r--lib/service/servicedvb.cpp7
-rw-r--r--lib/service/servicedvb.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp
index 7f17fc84..0a7a6715 100644
--- a/lib/service/servicedvb.cpp
+++ b/lib/service/servicedvb.cpp
@@ -192,6 +192,13 @@ int eStaticServiceDVBBouquetInformation::getLength(const eServiceReference &ref)
return -1;
}
+#include <lib/dvb/epgcache.h>
+
+RESULT eStaticServiceDVBBouquetInformation::getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &ptr, time_t start_time)
+{
+ return eEPGCache::getInstance()->lookupEventTime(ref, start_time, ptr);
+}
+
class eStaticServiceDVBPVRInformation: public iStaticServiceInformation
{
DECLARE_REF(eStaticServiceDVBPVRInformation);
diff --git a/lib/service/servicedvb.h b/lib/service/servicedvb.h
index e12e3e19..b3978a42 100644
--- a/lib/service/servicedvb.h
+++ b/lib/service/servicedvb.h
@@ -277,6 +277,7 @@ public:
RESULT getName(const eServiceReference &ref, std::string &name);
int getLength(const eServiceReference &ref);
int isPlayable(const eServiceReference &ref, const eServiceReference &ignore);
+ RESULT getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &ptr, time_t start_time);
};
#endif