+ // Event's are parsed epg events.. it's safe to use them after cache unlock
+ // after use this Events must be deleted (memleaks)
+ RESULT lookupEventId(const eServiceReference &service, int event_id, Event* &);
+ RESULT lookupEventTime(const eServiceReference &service, time_t, Event* &, int direction=0);
+ 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 )
+ SWIG_VOID(RESULT) lookupEventId(const eServiceReference &service, int event_id, ePtr<eServiceEvent> &SWIG_OUTPUT);
+ SWIG_VOID(RESULT) lookupEventTime(const eServiceReference &service, time_t, ePtr<eServiceEvent> &SWIG_OUTPUT, int direction=0);
+ SWIG_VOID(RESULT) getNextTimeEntry(ePtr<eServiceEvent> &SWIG_OUTPUT);
+};
+
+#ifndef SWIG