X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/8aa3def3cf1ca524036897c04278aa0598859534..8b5176ab8d8a334dfee75cfbda878240e2501823:/lib/dvb/dvbtime.h diff --git a/lib/dvb/dvbtime.h b/lib/dvb/dvbtime.h index c4419652..debbbff9 100644 --- a/lib/dvb/dvbtime.h +++ b/lib/dvb/dvbtime.h @@ -32,7 +32,7 @@ class TDT: public eGTable eDVBChannel *chan; ePtr demux; eTimer m_interval_timer; - int createTable(int nr, const __u8 *data, unsigned int max); + int createTable(unsigned int nr, const __u8 *data, unsigned int max); void ready(int); int update_count; public: @@ -73,13 +73,11 @@ class eDVBLocalTimeHandler: public Object #endif public: #ifndef SWIG - PSignal0 m_timeUpdated; eDVBLocalTimeHandler(); ~eDVBLocalTimeHandler(); #endif - time_t nowTime() const { return m_time_ready ? ::time(0)+m_time_difference : -1; } + PSignal0 m_timeUpdated; bool ready() const { return m_time_ready; } - int difference() const { return m_time_difference; } static eDVBLocalTimeHandler *getInstance() { return instance; } };