use boundFunction from tools
[enigma2.git] / lib / dvb / epgcache.h
index 5643fa43eae0094f8b10bfd06773638809ba33d7..01d738cb3aa1f1795d7ecfcd6dd95dbbfadb15eb 100644 (file)
@@ -223,7 +223,7 @@ private:
        timeMap::iterator m_timemap_cursor, m_timemap_end;
 #endif // SWIG
 public:
        timeMap::iterator m_timemap_cursor, m_timemap_end;
 #endif // SWIG
 public:
-       static RESULT getInstance(eEPGCache *&ptr);
+       static eEPGCache *getInstance() { return instance; }
        eEPGCache();
        ~eEPGCache();
 
        eEPGCache();
        ~eEPGCache();
 
@@ -237,7 +237,7 @@ public:
        // 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 *&);
        // 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
        RESULT getNextTimeEntry(const eventData *&);
 
 #ifndef SWIG
@@ -257,7 +257,7 @@ public:
        // 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> &);
        // 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> &);
 };
 
        RESULT getNextTimeEntry(ePtr<eServiceEvent> &);
 };