aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/dvbtime.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-07-12 21:10:02 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-07-12 21:10:02 +0000
commitaa3d1162bef321bd2d0effdafce6eb080660a7ca (patch)
tree746d044753c2c2c8b90f48ccb7adab4d7eb472cc /lib/dvb/dvbtime.h
parentb47c326aad25626034d14ffb630628da2f0e8b97 (diff)
downloadenigma2-aa3d1162bef321bd2d0effdafce6eb080660a7ca.tar.gz
enigma2-aa3d1162bef321bd2d0effdafce6eb080660a7ca.zip
remove unneeded signals ( eDVBChannel::m_stateChanged give us the same informations )
Diffstat (limited to 'lib/dvb/dvbtime.h')
-rw-r--r--lib/dvb/dvbtime.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/dvb/dvbtime.h b/lib/dvb/dvbtime.h
index 59a26c21..3b92fd1e 100644
--- a/lib/dvb/dvbtime.h
+++ b/lib/dvb/dvbtime.h
@@ -33,19 +33,22 @@ public:
class eDVBLocalTimeHandler: public Object
{
+ struct channel_data
+ {
+ TDT *tdt;
+ ePtr<eDVBChannel> channel;
+ ePtr<eConnection> m_stateChangedConn;
+ };
friend class TDT;
DECLARE_REF(eDVBLocalTimeHandler)
- std::map<iDVBChannel*, TDT*> m_active_tables;
+ std::map<iDVBChannel*, channel_data> m_knownChannels;
std::map<eDVBChannelID,int> m_timeOffsetMap;
ePtr<eConnection> m_chanAddedConn;
- ePtr<eConnection> m_chanRemovedConn;
- ePtr<eConnection> m_chanRunningConn;
bool m_time_ready;
int m_time_difference;
int m_last_tp_time_difference;
void DVBChannelAdded(eDVBChannel*);
- void DVBChannelRemoved(eDVBChannel*);
- void DVBChannelRunning(iDVBChannel*);
+ void DVBChannelStateChanged(iDVBChannel*);
void readTimeOffsetData(const char*);
void writeTimeOffsetData(const char*);
void updateTime(time_t tp_time, eDVBChannel*);