return 0;
}
-RESULT eDVBService::getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &ptr)
+RESULT eDVBService::getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &ptr, time_t start_time)
{
- time_t t=-1;
- return eEPGCache::getInstance()->lookupEventTime(ref, t, ptr);
+ return eEPGCache::getInstance()->lookupEventTime(ref, start_time, ptr);
}
bool eDVBService::isPlayable(const eServiceReference &ref, const eServiceReference &ignore)
// iStaticServiceInformation
RESULT getName(const eServiceReference &ref, std::string &name);
- RESULT getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &ptr);
+ RESULT getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &ptr, time_t start_time);
bool isPlayable(const eServiceReference &ref, const eServiceReference &ignore);
/* for filtering: */
int getCurrentSelectionIndex() { return m_cursor; }
void invalidateEntry(int index);
void invalidate();
+ eSize getItemSize() { return m_itemsize; }
#ifndef SWIG
protected:
void cursorHome();
// doesn't need to be implemented, should return -1 then.
virtual int getLength(const eServiceReference &ref);
- virtual SWIG_VOID(RESULT) getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &SWIG_OUTPUT);
+ virtual SWIG_VOID(RESULT) getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &SWIG_OUTPUT, time_t start_time=0);
// returns true when not implemented
virtual bool isPlayable(const eServiceReference &ref, const eServiceReference &ignore);
};
#include <lib/service/event.h>
-RESULT iStaticServiceInformation::getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &evt)
+RESULT iStaticServiceInformation::getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &evt, time_t start_time)
{
evt = 0;
return -1;