X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/4d1d2ce204939729857de900e39ef0fc2379213f..8c84c2a2c0b8d33404540ab50278de63d3c7fccc:/lib/dvb/epgcache.h diff --git a/lib/dvb/epgcache.h b/lib/dvb/epgcache.h index 9429bf30..487f409e 100644 --- a/lib/dvb/epgcache.h +++ b/lib/dvb/epgcache.h @@ -19,6 +19,7 @@ #include #include #include +#include #define CLEAN_INTERVAL 60000 // 1 min #define UPDATE_INTERVAL 3600000 // 60 min @@ -218,6 +219,9 @@ private: timeMap::iterator m_timemap_cursor, m_timemap_end; int currentQueryTsidOnid; // needed for getNextTimeEntry.. only valid until next startTimeQuery call +#else + eEPGCache(); + ~eEPGCache(); #endif // SWIG public: static eEPGCache *getInstance() { return instance; } @@ -252,6 +256,7 @@ public: RESULT lookupEventTime(const eServiceReference &service, time_t, Event* &); RESULT getNextTimeEntry(Event *&); #endif + PyObject *lookupEvent(PyObject *list, PyObject *convertFunc=NULL); // eServiceEvent are parsed epg events.. it's safe to use them after cache unlock // for use from python ( members: m_start_time, m_duration, m_short_description, m_extended_description )