timeMap::iterator m_timemap_cursor, m_timemap_end;
#endif // SWIG
public:
- static RESULT getInstance(eEPGCache *&ptr);
+ static eEPGCache *getInstance() { return instance; }
eEPGCache();
~eEPGCache();
// eventData's are plain entrys out of the cache.. it's not safe to use them after cache unlock
// but its faster in use... its not allowed to delete this pointers via delete or free..
RESULT lookupEvent(const eServiceReference &service, int event_id, const eventData *&);
- RESULT lookupEvent(const eServiceReference &service, time_t , const eventData *&);
+ RESULT lookupEvent(const eServiceReference &service, time_t, const eventData *&);
RESULT getNextTimeEntry(const eventData *&);
#ifndef SWIG
// 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 )
RESULT lookupEvent(const eServiceReference &service, int event_id, ePtr<eServiceEvent> &);
- RESULT lookupEvent(const eServiceReference &service, time_t , ePtr<eServiceEvent> &);
+ RESULT lookupEvent(const eServiceReference &service, time_t, ePtr<eServiceEvent> &);
RESULT getNextTimeEntry(ePtr<eServiceEvent> &);
};