~ubuntu-branches/ubuntu/wily/me-tv/wily-proposed

« back to all changes in this revision

Viewing changes to src/epg_thread.cc

  • Committer: Bazaar Package Importer
  • Author(s): Michael Lamothe
  • Date: 2010-05-22 13:10:32 UTC
  • mfrom: (1.1.12 upstream) (3.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20100522131032-ibethpcgb8lpwt1w
Tags: 1.2.4-1
* New upstream release
* Maintainer change to Michael Lamothe
* Updated debian/control
  - Added libunique-dev to Build-Depends
  - Added libdbus-glib-1-dev to Build-Depends
* Added me-tv-player.1 to debian/me-tv.manpages

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
        return result >= 0;
120
120
}
121
121
 
122
 
EpgThread::EpgThread() : Thread("EPG Thread")
 
122
EpgThread::EpgThread(Dvb::Frontend& f) : Thread("EPG Thread"), frontend(f)
123
123
{
124
124
        last_update_time = 0;
125
125
}
126
126
 
127
127
void EpgThread::run()
128
128
{
129
 
        TRY;
130
 
 
131
129
        Application&                                    application                             = get_application();
132
130
        ChannelManager&                                 channel_manager                 = application.channel_manager;
133
 
        Dvb::Frontend&                                  frontend                                = application.device_manager.get_frontend();
134
131
        Glib::ustring                                   demux_path                              = frontend.get_adapter().get_demux_path();
135
132
        EITDemuxers                                             demuxers(demux_path);
136
133
        Dvb::SI::SectionParser                  parser;
266
263
                }
267
264
        }
268
265
 
269
 
        THREAD_CATCH;
270
 
 
271
266
        g_debug("Exiting EPG thread");
272
267
}