aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/epgcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dvb/epgcache.h')
-rw-r--r--lib/dvb/epgcache.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/dvb/epgcache.h b/lib/dvb/epgcache.h
index dca05a52..90aff6c6 100644
--- a/lib/dvb/epgcache.h
+++ b/lib/dvb/epgcache.h
@@ -177,7 +177,8 @@ class eEPGCache: public eMainloop, private eThread, public Object
eEPGCache *cache;
ePtr<eTimer> abortTimer, zapTimer;
int prevChannelState;
- __u8 state, isRunning, haveData;
+ int state;
+ __u8 isRunning, haveData;
ePtr<eDVBChannel> channel;
ePtr<eConnection> m_stateChangedConn, m_NowNextConn, m_ScheduleConn, m_ScheduleOtherConn, m_ViasatConn;
ePtr<iDVBSectionReader> m_NowNextReader, m_ScheduleReader, m_ScheduleOtherReader, m_ViasatReader;
@@ -290,6 +291,7 @@ private:
void thread(); // thread function
// called from epgcache thread
+ int m_running;
char m_filename[1024];
void save();
void load();
@@ -326,6 +328,9 @@ public:
#endif
#endif
+ // must be called once!
+ void setCacheFile(const char *filename);
+
// called from main thread
inline void Lock();
inline void Unlock();