fix hdd initialize button
[enigma2.git] / lib / dvb / epgcache.h
index 9429bf30481f56d1cf5e602981586a3db62ef047..487f409eec421983a4a99a524124a90eaf29617a 100644 (file)
@@ -19,6 +19,7 @@
 #include <lib/base/thread.h>
 #include <lib/base/message.h>
 #include <lib/service/event.h>
+#include <lib/python/python.h>
 
 #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 )